Move -std=gnu99 to correct place, use _GNU_SOURCE

This commit is contained in:
Laurence Withers 2009-01-03 19:21:25 +00:00
parent 2c016208f2
commit e908febba2
1 changed files with 2 additions and 2 deletions

View File

@ -12,9 +12,9 @@ then
source src/libiso8601/soversion
libiso8601="obj/${libiso8601_BASE}.so.${SOMAJOR}.${SOMICRO}"
libiso8601_DEP_CFLAGS="-std=gnu99"
libiso8601_DEP_CFLAGS=""
libiso8601_DEP_LIBS="-lrt"
SO_EXTRA="${libiso8601_DEP_CFLAGS} ${libiso8601_DEP_LIBS} -lc"
SO_EXTRA="-std=gnu99 -D_GNU_SOURCE ${libiso8601_DEP_CFLAGS} ${libiso8601_DEP_LIBS} -lc"
echo "Building library ${libiso8601}..."