Replace flags '-fpic' with '-fPIC'
Reportedly '-fPIC' should work for all architectures while '-fpic' does not.
This commit is contained in:
parent
2e13d8f7a3
commit
426b38bb35
1 changed files with 7 additions and 7 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
# Makefile.pdlibbuilder dated 2016-10-30
|
# Makefile.pdlibbuilder dated 2016-11-02
|
||||||
version = 0.4.2
|
version = 0.4.3
|
||||||
|
|
||||||
# Helper makefile for Pure Data external libraries.
|
# Helper makefile for Pure Data external libraries.
|
||||||
# Written by Katja Vetter March-June 2015 for the public domain. No warranties.
|
# Written by Katja Vetter March-June 2015 for the public domain. No warranties.
|
||||||
|
|
@ -493,14 +493,14 @@ ifeq ($(system), Linux)
|
||||||
pdincludepath := $(wildcard /usr/include/pd)
|
pdincludepath := $(wildcard /usr/include/pd)
|
||||||
extension = pd_linux
|
extension = pd_linux
|
||||||
cpp.flags := -DUNIX
|
cpp.flags := -DUNIX
|
||||||
c.flags := -fpic
|
c.flags := -fPIC
|
||||||
c.ldflags := -rdynamic -shared -fpic -Wl,-rpath,"\$$ORIGIN",--enable-new-dtags
|
c.ldflags := -rdynamic -shared -fPIC -Wl,-rpath,"\$$ORIGIN",--enable-new-dtags
|
||||||
c.ldlibs := -lc -lm
|
c.ldlibs := -lc -lm
|
||||||
cxx.flags := -fpic -fcheck-new
|
cxx.flags := -fPIC -fcheck-new
|
||||||
cxx.ldflags := -rdynamic -shared -fpic -Wl,-rpath,"\$$ORIGIN",--enable-new-dtags
|
cxx.ldflags := -rdynamic -shared -fPIC -Wl,-rpath,"\$$ORIGIN",--enable-new-dtags
|
||||||
cxx.ldlibs := -lc -lm -lstdc++
|
cxx.ldlibs := -lc -lm -lstdc++
|
||||||
shared.extension = so
|
shared.extension = so
|
||||||
shared.ldflags := -rdynamic -fpic -shared -Wl,-soname,$(shared.lib)
|
shared.ldflags := -rdynamic -fPIC -shared -Wl,-soname,$(shared.lib)
|
||||||
stripflags = --strip-unneeded -R .note -R .comment
|
stripflags = --strip-unneeded -R .note -R .comment
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue