diff options
author | Tristan Gingold <tgingold@free.fr> | 2016-07-21 08:01:02 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2016-07-21 08:01:02 +0200 |
commit | 07cdfc14b94fa48feb15e564b57afb498fff308a (patch) | |
tree | 01785f2709a36e11d88528921f71c07be002bb30 /Makefile.in | |
parent | d1dee38b9433ee248da270abf661139b8c617413 (diff) | |
download | ghdl-07cdfc14b94fa48feb15e564b57afb498fff308a.tar.gz ghdl-07cdfc14b94fa48feb15e564b57afb498fff308a.tar.bz2 ghdl-07cdfc14b94fa48feb15e564b57afb498fff308a.zip |
Do not use -fPIC to build libghdlvpi on windows and darwin.
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in index 04886c8d8..0e845f375 100644 --- a/Makefile.in +++ b/Makefile.in @@ -25,6 +25,7 @@ libdirsuffix=@libdirsuffix@ libdirreverse=@libdirreverse@ EXEEXT=@EXEEXT@ SOEXT=@SOEXT@ +PIC_FLAGS=@PIC_FLAGS@ gcc_src_dir=@gcc_src_dir@ LLVM_CONFIG=@llvm_config@ LDFLAGS=@LDFLAGS@ @@ -285,7 +286,7 @@ install.grt: libgrt.a grt.lst install.dirs vpi_thunk.o: $(GRTSRCDIR)/vpi_thunk.c $(GRTSRCDIR)/vpi_thunk.h # Do not use OPT_FLAGS (do not enable coverage) - $(CC) -c -o $@ $< -fPIC -O $(WARN_CFLAGS) + $(CC) -c -o $@ $< $(PIC_FLAGS) -O $(WARN_CFLAGS) libghdlvpi.so: vpi_thunk.o $(CC) -o $@ $< -shared -Wl,-soname,libghdlvpi.so |