Created
May 20, 2022 04:16
-
-
Save jerstlouis/9989b88f00251057e16e0dcb7577ce3f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/default.cf b/default.cf | |
index fc8cba400..62ac27520 100644 | |
--- a/default.cf | |
+++ b/default.cf | |
@@ -80,13 +80,13 @@ export DYLD_LIBRARY_PATH = $(_CF_DIR)obj/$(HOST_PLATFORM)$(COMPILER_SUFFIX)$(DEB | |
endif | |
# HARD CODED PLATFORM-SPECIFIC OPTIONS | |
-LDFLAGS +=$(if $(LINUX_TARGET), -Wl$(comma)--no-undefined,) | |
-LDFLAGS +=$(if $(OSX_TARGET), -framework cocoa -framework OpenGL -L/usr/local/opt/openssl/lib,) | |
+override LDFLAGS +=$(if $(LINUX_TARGET), -Wl$(comma)--no-undefined,) | |
+override LDFLAGS +=$(if $(OSX_TARGET), -framework cocoa -framework OpenGL -L/usr/local/opt/openssl/lib,) | |
ifdef BSD_TARGET | |
EXCLUDED_LIBS += $(space)dl | |
CFLAGS += -isystem /usr/local/include -isystem /usr/local/include/freetype2 | |
-LDFLAGS += -L/usr/local/lib | |
+override LDFLAGS += -L/usr/local/lib | |
endif | |
ifdef OSX_TARGET | |
diff --git a/ecere/Makefile b/ecere/Makefile | |
index 951aa5fff..9f7d76045 100644 | |
--- a/ecere/Makefile | |
+++ b/ecere/Makefile | |
@@ -38,7 +38,7 @@ include $(_CF_DIR)crossplatform.mk | |
include $(_CF_DIR)default.cf | |
ifdef PREFIXLIBDIR | |
-CFLAGS += -DDEB_HOST_MULTIARCH=\"$(call escspace,$(PREFIXLIBDIR))\" | |
+override CFLAGS += -DDEB_HOST_MULTIARCH=\"$(call escspace,$(PREFIXLIBDIR))\" | |
endif | |
# POST-INCLUDES VARIABLES |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment