Browse Source

Build fesvr as -fPIC to improve compatibility with old uses

pull/267/head
Andrew Waterman 7 years ago
parent
commit
489f1f8988
  1. 4
      Makefile.in
  2. 2
      fesvr/fesvr.mk.in

4
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)

2
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

Loading…
Cancel
Save