freebsd-ports/news/golded+/files/patch-GNUmakef.def
2011-12-15 05:08:06 +00:00

24 lines
626 B
Modula-2

--- GNUmakef.def.orig 2011-02-20 04:37:40.000000000 +0600
+++ GNUmakef.def 2011-12-15 11:32:23.000000000 +0700
@@ -135,8 +135,8 @@
CAT=cat
SED=sed
GREP=grep
-CC=gcc
-CXX=g++
+#CC=gcc
+#CXX=g++
AR=ar
RANLIB=ranlib
PLATFORM=lnx
@@ -155,8 +155,8 @@
endif
endif
endif
-CFLAGS+=-funsigned-char -g $(INCS) -Wall -Wno-sign-compare -pedantic -O2 -DPRAGMA_PACK # -fomit-frame-pointer
-LNKFLAGS+=-g
+CFLAGS+=-funsigned-char $(INCS) -Wall -Wno-sign-compare -O2 -DPRAGMA_PACK # -g -pedantic -fomit-frame-pointer
+#LNKFLAGS+=-g
CPPFLAGS+=$(CFLAGS) -fno-rtti # -fno-exceptions
# Run `make USE_NCURSES=0` if you dislike ncurses