mirror of
https://github.com/novatiq/packages.git
synced 2026-04-29 23:18:42 +01:00
miniupnpd: Fix compilation under glibc
Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@@ -8,16 +8,13 @@
|
||||
-CFLAGS += -fno-common
|
||||
-CFLAGS += -fstack-protector -fPIE
|
||||
-CFLAGS += -D_FORTIFY_SOURCE=2
|
||||
-CPPFLAGS += -D_GNU_SOURCE
|
||||
-CFLAGS += -Wall
|
||||
-CFLAGS += -Wextra -Wstrict-prototypes -Wdeclaration-after-statement
|
||||
+#CFLAGS += -fno-strict-aliasing
|
||||
+#CFLAGS += -fno-common
|
||||
+#CFLAGS += -fstack-protector -fPIE
|
||||
+#CFLAGS += -D_FORTIFY_SOURCE=2
|
||||
+#CPPFLAGS += -D_GNU_SOURCE
|
||||
+#CFLAGS += -Wall
|
||||
+#CFLAGS += -Wextra -Wstrict-prototypes -Wdeclaration-after-statement
|
||||
CPPFLAGS += -D_GNU_SOURCE
|
||||
CFLAGS += -Wall
|
||||
CFLAGS += -Wextra -Wstrict-prototypes -Wdeclaration-after-statement
|
||||
#CFLAGS += -Wno-missing-field-initializers
|
||||
#CFLAGS += -ansi # iptables headers does use typeof which is a gcc extension
|
||||
-LDFLAGS += -Wl,-z,now -Wl,-z,relro -pie
|
||||
|
||||
Reference in New Issue
Block a user