Move -std=gnu99 to correct place, use _GNU_SOURCE
This commit is contained in:
parent
2c016208f2
commit
e908febba2
|
@ -12,9 +12,9 @@ then
|
||||||
source src/libiso8601/soversion
|
source src/libiso8601/soversion
|
||||||
|
|
||||||
libiso8601="obj/${libiso8601_BASE}.so.${SOMAJOR}.${SOMICRO}"
|
libiso8601="obj/${libiso8601_BASE}.so.${SOMAJOR}.${SOMICRO}"
|
||||||
libiso8601_DEP_CFLAGS="-std=gnu99"
|
libiso8601_DEP_CFLAGS=""
|
||||||
libiso8601_DEP_LIBS="-lrt"
|
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}..."
|
echo "Building library ${libiso8601}..."
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue