projects/aports·blob master · refs

13 lines · 315 B

1Use _DEFAULT_SOURCE instead of _GNU_SOURCE.
2
3--- readpe-0.82.orig/lib/libpe/Makefile
4+++ readpe-0.82/lib/libpe/Makefile
5@@ -87,7 +87,7 @@
6 # may not be loaded.
7 #
8
9-libpe: CPPFLAGS += -D_GNU_SOURCE
10+libpe: CPPFLAGS += -D_DEFAULT_SOURCE
11 ifeq ($(PLATFORM_OS), CYGWIN)
12 libpe: CPPFLAGS += -D_XOPEN_SOURCE=600
13 endif