18 lines
692 B
Plaintext
18 lines
692 B
Plaintext
$OpenBSD: patch-build_makefiles_Makefile_tools,v 1.1 2011/09/16 13:35:49 naddy Exp $
|
|
|
|
Don't override CFLAGS.
|
|
|
|
--- build/makefiles/Makefile.tools.orig Fri Sep 16 15:12:43 2011
|
|
+++ build/makefiles/Makefile.tools Fri Sep 16 15:13:42 2011
|
|
@@ -420,8 +420,8 @@ include build/makefiles/Makefile.$(toolchain)
|
|
###############################################################################
|
|
|
|
ifeq ($(BUILD),release)
|
|
- OPTCFLAGS ?= $(CCDEF)NDEBUG $(CCOPT)
|
|
- OPTCXXFLAGS ?= $(CXXDEF)NDEBUG $(CXXOPT)
|
|
+ OPTCFLAGS ?= $(CCDEF)NDEBUG # $(CCOPT)
|
|
+ OPTCXXFLAGS ?= $(CXXDEF)NDEBUG # $(CXXOPT)
|
|
else
|
|
OPTCFLAGS ?= $(CCDBG) $(CCNOOPT) $(CCDEF)DEBUG
|
|
OPTCXXFLAGS ?= $(CXXDBG) $(CXXNOOPT) $(CXXDEF)DEBUG
|