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

22 lines
637 B
Plaintext

$OpenBSD: patch-solenv_inc_settings_mk,v 1.9 2008/05/05 15:18:29 robert Exp $
--- solenv/inc/settings.mk.orig.port Thu May 1 13:10:51 2008
+++ solenv/inc/settings.mk Thu May 1 13:10:53 2008
@@ -1070,6 +1070,8 @@ CDEFS+=-DOSL_DEBUG_LEVEL=$(DBG_LEVEL)
RSCDEFS+=-DOSL_DEBUG_LEVEL=$(DBG_LEVEL)
.ENDIF
+CFLAGS+= $(ENVCFLAGS)
+
.IF "$(optimize)"!=""
CDEFS+=$(CDEFSOPT)
CFLAGS+=$(CFLAGSOPT)
@@ -1202,7 +1204,7 @@ CFLAGSAPPEND+=$(ENVWARNFLAGS)
CDEFS+= $(ADDCDEFS)
CDEFS+= $(ENVCDEFS)
-CFLAGS+= $(CFLAGSCALL) $(ENVCFLAGS)
+CFLAGS+= $(CFLAGSCALL)
CFLAGSCXX+= $(ENVCFLAGSCXX)
# andersrum wg. -TPxxxx
CFLAGSINCXX+:=$(ENVCFLAGSINCXX)