openbsd-ports/editors/openoffice/patches/patch-solenv_inc_settings_mk

22 lines
616 B
Plaintext

$OpenBSD: patch-solenv_inc_settings_mk,v 1.6 2007/04/18 13:20:48 kurt Exp $
--- solenv/inc/settings.mk.orig.port Wed Apr 18 03:46:23 2007
+++ solenv/inc/settings.mk Wed Apr 18 03:46:27 2007
@@ -1121,6 +1121,8 @@ RSCDEFS+=-DOSL_DEBUG_LEVEL=$(DBG_LEVEL)
CDEFS+=-DSVX_LIGHT
.ENDIF
+CFLAGS+= $(ENVCFLAGS)
+
.IF "$(optimize)"!=""
CDEFS+=$(CDEFSOPT)
CFLAGS+=$(CFLAGSOPT)
@@ -1267,7 +1269,7 @@ CFLAGSAPPEND+=$(ENVWARNFLAGS)
CDEFS+= $(ADDCDEFS)
CDEFS+= $(ENVCDEFS)
-CFLAGS+= $(CFLAGSCALL) $(ENVCFLAGS)
+CFLAGS+= $(CFLAGSCALL)
CFLAGSCXX+= $(ENVCFLAGSCXX)
# andersrum wg. -TPxxxx
CFLAGSINCXX+:=$(ENVCFLAGSINCXX)