-
Notifications
You must be signed in to change notification settings - Fork 515
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add the FREEIMAGE_LIB define in order to keep the build process from defining dllspec specifications. Remove -fPIC to fix a warning.
- Loading branch information
Showing
2 changed files
with
18 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
This file is part of MXE. | ||
See index.html for further information. | ||
|
||
Add the FREEIMAGE_LIB define in order to keep the build process from defining | ||
dllspec specifications. | ||
|
||
diff -ur a/Makefile.fip b/Makefile.fip | ||
--- a/Makefile.fip 2010-12-09 15:12:12.000000000 +0100 | ||
+++ b/Makefile.fip 2015-12-22 13:24:33.071944345 +0100 | ||
@@ -17,7 +17,7 @@ | ||
MODULES := $(MODULES:.cpp=.o) | ||
CFLAGS ?= -O3 -fPIC -fexceptions -fvisibility=hidden -DNO_LCMS | ||
CFLAGS += $(INCLUDE) | ||
-CXXFLAGS ?= -O3 -fPIC -fexceptions -fvisibility=hidden -Wno-ctor-dtor-privacy | ||
+CXXFLAGS ?= -O3 -fexceptions -fvisibility=hidden -Wno-ctor-dtor-privacy -DFREEIMAGE_LIB | ||
CXXFLAGS += $(INCLUDE) | ||
|
||
ifeq ($(shell sh -c 'uname -m 2>/dev/null || echo not'),x86_64) |
This file contains 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