openbsd-ports/editors/openoffice3/patches/patch-solenv_inc_settings_mk
2010-06-26 15:48:11 +00:00

22 lines
637 B
Plaintext

$OpenBSD: patch-solenv_inc_settings_mk,v 1.5 2010/06/26 15:48:12 robert Exp $
--- solenv/inc/settings.mk.orig.port Wed May 26 20:30:11 2010
+++ solenv/inc/settings.mk Fri Jun 25 23:56:14 2010
@@ -1131,6 +1131,8 @@ CDEFS+=-DOSL_DEBUG_LEVEL=$(DBG_LEVEL)
RSCDEFS+=-DOSL_DEBUG_LEVEL=$(DBG_LEVEL)
.ENDIF
+CFLAGS+= $(ENVCFLAGS)
+
.IF "$(optimize)"!=""
CDEFS+=$(CDEFSOPT)
CFLAGS+=$(CFLAGSOPT)
@@ -1271,7 +1273,7 @@ CFLAGSAPPEND+=$(ENVWARNFLAGS)
CDEFS+= $(ADDCDEFS)
CDEFS+= $(ENVCDEFS)
-CFLAGS+= $(CFLAGSCALL) $(ENVCFLAGS)
+CFLAGS+= $(CFLAGSCALL)
CFLAGSCXX+= $(ENVCFLAGSCXX)
# andersrum wg. -TPxxxx
CFLAGSINCXX+:=$(ENVCFLAGSINCXX)