aboutsummaryrefslogtreecommitdiffstats
path: root/bruiser/autogen
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bruiser/autogen/wasm/ft/makefile4
-rw-r--r--bruiser/autogen/wasm/ltg/makefile4
2 files changed, 8 insertions, 0 deletions
diff --git a/bruiser/autogen/wasm/ft/makefile b/bruiser/autogen/wasm/ft/makefile
index 08e0ffe..1ee85d2 100644
--- a/bruiser/autogen/wasm/ft/makefile
+++ b/bruiser/autogen/wasm/ft/makefile
@@ -3,7 +3,11 @@ SHELL=bash
SHELL?=bash
CC=clang
CC?=clang
+ifdef OS
+CC_FLAGS=
+else
CC_FLAGS= -fPIC
+endif
CC_EXTRA?=
CTAGS_I_PATH?=./
LD_FLAGS=
diff --git a/bruiser/autogen/wasm/ltg/makefile b/bruiser/autogen/wasm/ltg/makefile
index 41d6c5a..7f06195 100644
--- a/bruiser/autogen/wasm/ltg/makefile
+++ b/bruiser/autogen/wasm/ltg/makefile
@@ -3,7 +3,11 @@ SHELL=bash
SHELL?=bash
CC=clang
CC?=clang
+ifdef OS
+CC_FLAGS=
+else
CC_FLAGS= -fPIC
+endif
CC_EXTRA?=
CTAGS_I_PATH?=./
LD_FLAGS=