~mysqlatfacebook/mysqlatfacebook/tools

« back to all changes in this revision

Viewing changes to pmysql/Makefile

  • Committer: Domas Mituzas
  • Date: 2014-03-25 21:55:52 UTC
  • Revision ID: domas@facebook.com-20140325215552-gg6qlnlnd7elhkxh
pmysql modifications
* IPv6 ready! ( support [address]:port style addresses)
* Make it pure C99 rather than pretend any C++ exists here
* More warnings checked

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
CXXFLAGS+=-Wall -Werror -g -O3 `mysql_config --cflags` `pkg-config glib-2.0 gthread-2.0 --cflags`
 
1
CFLAGS+=-Wall -Wextra -Werror -g -O3 -std=c99 `mysql_config --cflags` `pkg-config glib-2.0 gthread-2.0 --cflags`
2
2
LDFLAGS+=`mysql_config --libs_r` `pkg-config glib-2.0 gthread-2.0 --libs`
3
3
 
4
4
all: pmysql