mirror of
https://github.com/Zygo/bees.git
synced 2025-06-16 01:26:18 +02:00
Installation: -fPIC should not be used unconditionally
According to Gentoo packaging guide, -fPIC should only be used on shared libraries, and not added unconditionally to every linker call. Signed-off-by: Kai Krakow <kai@kaishome.de>
This commit is contained in:
@ -30,7 +30,7 @@ depends.mk: *.cc
|
||||
-include depends.mk
|
||||
|
||||
%.o: %.cc ../include/crucible/%.h
|
||||
$(CXX) $(CXXFLAGS) -o $@ -c $<
|
||||
$(CXX) $(CXXFLAGS) -fPIC -o $@ -c $<
|
||||
|
||||
libcrucible.so: $(OBJS) Makefile
|
||||
$(CXX) $(LDFLAGS) -o $@ $(OBJS) -shared -Wl,-soname,$@ -luuid
|
||||
$(CXX) $(LDFLAGS) -fPIC -o $@ $(OBJS) -shared -Wl,-soname,$@ -luuid
|
||||
|
Reference in New Issue
Block a user