aboutsummaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorAndrew Waterman <andrew@sifive.com>2019-03-31 16:56:31 -0700
committerAndrew Waterman <andrew@sifive.com>2019-03-31 16:56:31 -0700
commit489f1f89881ec5540c4268f3e845f8820b837643 (patch)
tree22b827dcebb93b5da9ed0a3cb19a45f21222ab01 /Makefile.in
parentf49618ca9d674ec7e596118f85027c4b503862ac (diff)
downloadspike-489f1f89881ec5540c4268f3e845f8820b837643.zip
spike-489f1f89881ec5540c4268f3e845f8820b837643.tar.gz
spike-489f1f89881ec5540c4268f3e845f8820b837643.tar.bz2
Build fesvr as -fPIC to improve compatibility with old uses
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index 461d727..43a28b2 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -191,9 +191,9 @@ $$($(2)_pch) : %.h.gch : %.h
$(COMPILE) -x c++-header $$< -o $$@
# If using clang, don't depend (and thus don't build) precompiled headers
$$($(2)_objs) : %.o : %.cc $$($(2)_gen_hdrs) $(if $(filter-out clang,$(CC)),$$($(2)_pch))
- $(COMPILE) -c $$<
+ $(COMPILE) $$($(2)_CFLAGS) -c $$<
$$($(2)_c_objs) : %.o : %.c $$($(2)_gen_hdrs)
- $(COMPILE_C) -c $$<
+ $(COMPILE_C) $$($(2)_CFLAGS) -c $$<
$(2)_junk += $$($(2)_pch) $$($(2)_objs) $$($(2)_c_objs) $$($(2)_deps) \
$$($(2)_gen_hdrs)