Skip to content

Commit

Permalink
Merge pull request aclements#8 from ccurtsinger/relocatable-objects
Browse files Browse the repository at this point in the history
Build with -fPIC so libelfin can be used in shared libraries.
  • Loading branch information
aclements authored Aug 15, 2016
2 parents 9ee6c10 + da30bac commit 1feb380
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dwarf/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
CXXFLAGS+=-g -O2 -Werror
override CXXFLAGS+=-std=c++0x -Wall
override CXXFLAGS+=-std=c++0x -Wall -fPIC

all: libdwarf++.a libdwarf++.pc

Expand Down
2 changes: 1 addition & 1 deletion elf/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
CXXFLAGS+=-g -O2 -Werror
override CXXFLAGS+=-std=c++0x -Wall
override CXXFLAGS+=-std=c++0x -Wall -fPIC

all: libelf++.a libelf++.pc

Expand Down

0 comments on commit 1feb380

Please sign in to comment.