diff options
-rw-r--r-- | Makefile.in | 4 | ||||
-rw-r--r-- | fesvr/fesvr.mk.in | 2 |
2 files changed, 4 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) diff --git a/fesvr/fesvr.mk.in b/fesvr/fesvr.mk.in index cad3387..30c8bfe 100644 --- a/fesvr/fesvr.mk.in +++ b/fesvr/fesvr.mk.in @@ -14,6 +14,8 @@ fesvr_hdrs = \ rfb.h \ tsi.h \ +fesvr_CFLAGS = -fPIC + fesvr_install_hdrs = $(fesvr_hdrs) fesvr_install_lib = yes |