-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path0001-add-fPIC-flag-to-compile.core.mk.patch
25 lines (21 loc) · 1.25 KB
/
0001-add-fPIC-flag-to-compile.core.mk.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From c2fec1f026eca0dcfc8315006c0fb8fc5a3dd399 Mon Sep 17 00:00:00 2001
From: Philipp Dikmann <[email protected]>
Date: Sat, 16 Apr 2016 19:37:07 +0200
Subject: [PATCH] add -fPIC flag to compile.core.mk
---
libs/openFrameworksCompiled/project/makefileCommon/compile.core.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libs/openFrameworksCompiled/project/makefileCommon/compile.core.mk b/libs/openFrameworksCompiled/project/makefileCommon/compile.core.mk
index af4f385..0883e09 100644
--- a/libs/openFrameworksCompiled/project/makefileCommon/compile.core.mk
+++ b/libs/openFrameworksCompiled/project/makefileCommon/compile.core.mk
@@ -238,7 +238,7 @@ $(OF_CORE_OBJ_OUTPUT_PATH).compiler_flags: force
$(OF_CORE_OBJ_OUTPUT_PATH)%.o: $(OF_ROOT)/%.cpp $(OF_CORE_OBJ_OUTPUT_PATH).compiler_flags
@echo "Compiling" $<
@mkdir -p $(@D)
- $(CXX) $(OPTIMIZATION_CFLAGS) $(CFLAGS) $(CXXFLAGS) -MMD -MP -MF $(OF_CORE_OBJ_OUTPUT_PATH)$*.d -MT$(OF_CORE_OBJ_OUTPUT_PATH)$*.o -o $@ -c $<
+ $(CXX) -fPIC $(OPTIMIZATION_CFLAGS) $(CFLAGS) $(CXXFLAGS) -MMD -MP -MF $(OF_CORE_OBJ_OUTPUT_PATH)$*.d -MT$(OF_CORE_OBJ_OUTPUT_PATH)$*.o -o $@ -c $<
$(OF_CORE_OBJ_OUTPUT_PATH)%.o: $(OF_ROOT)/%.mm $(OF_CORE_OBJ_OUTPUT_PATH).compiler_flags
@echo "Compiling" $<
--
2.1.4