mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-17 08:01:36 +00:00
d96c7d1993
PR: ports/46590 Submitted by: KATO Tsuguru <tkato@prontomail.com>
31 lines
909 B
Plaintext
31 lines
909 B
Plaintext
--- src/Makefile.in.orig Wed Nov 20 20:27:27 2002
|
|
+++ src/Makefile.in Sat Dec 28 06:35:54 2002
|
|
@@ -146,14 +146,14 @@
|
|
#YCFLAGS += -DMYLEXDEBUG
|
|
#YCFLAGS += -DYYDEBUG=1 -DMYLEXDEBUG
|
|
DEFINES := -DARCH=$(ARCH) @hashset@
|
|
-CXXFLAGS := -g
|
|
-CXXFLAGSOPT := -O2\ -s
|
|
+CXXFLAGS := @CXXFLAGS@
|
|
+#CXXFLAGSOPT := -O2\ -s
|
|
CFLAGS := $(CXXFLAGS) -DHAVE_CONFIG_H -I.
|
|
|
|
ifneq (,$(findstring ++,$(CXX)))
|
|
# -ansi should be here but it's buggy (and should be called -iso anyway)
|
|
-CXXFLAGS := -Wall -Wno-unused -Wno-uninitialized -g
|
|
-CXXFLAGSOPT := $(CXXFLAGSOPT)\ -Os
|
|
+CXXFLAGS += -Wall -Wno-unused -Wno-uninitialized
|
|
+#CXXFLAGSOPT := $(CXXFLAGSOPT)\ -Os
|
|
ifeq "$(WARN)" "y"
|
|
CXXFLAGS += -Wold-style-cast -Weffc++
|
|
endif
|
|
@@ -189,7 +189,7 @@
|
|
touch tstamp.kc ; \
|
|
$(MAKE) -e -f $(MAKERUNDIR)/Makefile \
|
|
MAKERUNDIR=$(MAKERUNDIR) \
|
|
- CXXFLAGS=$(CXXFLAGSOPT) \
|
|
+ CXXFLAGS="$(CXXFLAGS)" \
|
|
$(BOOTSTRAPTARGET)
|
|
|
|
s1:
|