mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 15:11:35 +00:00
5a75fd2147
svn path=/nixpkgs/trunk/; revision=16661
14 lines
416 B
Diff
14 lines
416 B
Diff
Build position-independent code, for shared libraries.
|
|
|
|
--- a/GNUmakefile 2009-03-15 02:48:02.000000000 +0100
|
|
+++ b/GNUmakefile 2009-08-11 00:13:43.000000000 +0200
|
|
@@ -162,7 +162,7 @@ endif
|
|
$(CXX) $(CXXFLAGS) -DCRYPTOPP_IMPORTS -c $< -o $@
|
|
|
|
%.export.o : %.cpp
|
|
- $(CXX) $(CXXFLAGS) -DCRYPTOPP_EXPORTS -c $< -o $@
|
|
+ $(CXX) $(CXXFLAGS) -fPIC -DCRYPTOPP_EXPORTS -c $< -o $@
|
|
|
|
%.o : %.cpp
|
|
$(CXX) $(CXXFLAGS) -c $<
|