From 2bb2ea6056f24f321922f5911d9d2076b8088a98 Mon Sep 17 00:00:00 2001 From: Pavel A Date: Wed, 21 Oct 2015 19:50:51 +0300 Subject: [PATCH] Update Makefile option -fPIC required for x64 shared lib --- commandline/makemake/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commandline/makemake/Makefile b/commandline/makemake/Makefile index 8da94ae..0e32ac2 100644 --- a/commandline/makemake/Makefile +++ b/commandline/makemake/Makefile @@ -2,7 +2,7 @@ # for Linux # (Quick'n'dirty - no .h dependencies, etc.) # Assume make is run in this dir -# pa04 24-jan-2015 +# pa05 21-oct-2015 # prototype: # Author: Christian Starkjohann @@ -61,7 +61,7 @@ clean: # The main lib source is in lib/ and hiddata src with the cmd utility - reorg! # SRCS_LIB = $(HIDDATA) usb_relay_lib -CFLAGS += -I../../lib +CFLAGS += -I../../lib -fPIC VPATH =../../lib:.. $(SHRLIB): $(addsuffix .o, $(SRCS_LIB)) -- 2.25.1