mirror of
git://git.codemadness.org/stagit
synced 2025-03-09 09:09:12 -04:00
No need for -D_POSIX_C_SOURCE=200809L
XOPEN is a superset.
This commit is contained in:
parent
bd854ac71f
commit
cae9950407
@ -13,17 +13,17 @@ LIBS = -L${GITLIB} -lgit2 -lc
|
||||
|
||||
# debug
|
||||
CFLAGS = -fstack-protector-all -O0 -g -std=c99 -Wall -Wextra -pedantic \
|
||||
-D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_BSD_SOURCE ${INCS}
|
||||
-D_XOPEN_SOURCE=700 -D_BSD_SOURCE ${INCS}
|
||||
LDFLAGS = ${LIBS}
|
||||
|
||||
# optimized
|
||||
#CFLAGS = -O2 -std=c99 \
|
||||
# -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_BSD_SOURCE ${INCS}
|
||||
# -D_XOPEN_SOURCE=700 -D_BSD_SOURCE ${INCS}
|
||||
#LDFLAGS = -s ${LIBS}
|
||||
|
||||
# optimized static
|
||||
#CFLAGS = -static -O2 -std=c99 \
|
||||
# -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_BSD_SOURCE ${INCS}
|
||||
# -D_XOPEN_SOURCE=700 -D_BSD_SOURCE ${INCS}
|
||||
#LDFLAGS = -static -s ${LIBS}
|
||||
|
||||
# compiler and linker
|
||||
|
Loading…
x
Reference in New Issue
Block a user