aboutsummaryrefslogtreecommitdiffstats
path: root/games/eduke32/files/patch-Makefile.common
blob: f6cafcb20acb45d31b697076ceb7339dc2d91d9e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- Makefile.common.orig    2015-07-08 03:34:34 UTC
+++ Makefile.common
@@ -258,7 +258,6 @@ ifndef LTO
     endif
 endif
 
-COMMONFLAGS=$(ARCH)
 COMPILERFLAGS=
 
 ifeq ($(PACKAGE_REPOSITORY),0)
@@ -278,8 +277,8 @@ ifneq ($(RELEASE)$(DEBUGANYWAY),10)
     OPTIMIZATIONS += $(DEBUGFLAG)
 endif
 
-CONLYFLAGS=-std=gnu99 -Wimplicit -Werror-implicit-function-declaration
-CPPONLYFLAGS= -fno-exceptions -fno-rtti -Wno-write-strings
+CONLYFLAGS=-std=gnu99 -Wimplicit 
+CPPONLYFLAGS= -fno-exceptions -fno-rtti -fpermissive -Wno-write-strings
 ASFORMAT=elf$(SYSBITS)
 ASFLAGS=-s -f $(ASFORMAT) #-g
 LINKERFLAGS=