diff options
author | Nathan Sidwell <nathan@acm.org> | 2020-12-17 06:22:43 -0800 |
---|---|---|
committer | Nathan Sidwell <nathan@acm.org> | 2020-12-17 09:56:42 -0800 |
commit | d1ad55c4e08b827b4d38f763e0427096305d460d (patch) | |
tree | 2d39b9ccb9dcd77d32bd53c29c3d8bb15b23a8b8 /libcody/Makefile.in | |
parent | 217d5beaff9987a9845155fc796322b5f8bb876d (diff) | |
download | gcc-d1ad55c4e08b827b4d38f763e0427096305d460d.zip gcc-d1ad55c4e08b827b4d38f763e0427096305d460d.tar.gz gcc-d1ad55c4e08b827b4d38f763e0427096305d460d.tar.bz2 |
libcody: Allow PIC [PR 98324]
While this doesn't fix 98324, it was an omission. Cribbed code from
libcpp to build libcody as PIC.
libcody/
* configure.ac: Add --enable-host-shared.
* Makefile.in: Add FLAGPIC.
* configure: Regenerated.
Diffstat (limited to 'libcody/Makefile.in')
-rw-r--r-- | libcody/Makefile.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcody/Makefile.in b/libcody/Makefile.in index 4b457ad..28ed3a2 100644 --- a/libcody/Makefile.in +++ b/libcody/Makefile.in @@ -53,7 +53,7 @@ INSTALL := $(srcdir)/build-aux/install-sh # C++ compiler options CXXFLAGS := @CXXFLAGS@ CXXINC := $(filter -I%,@CXX@) -CXXOPTS := $(CXXFLAGS) +CXXOPTS := $(CXXFLAGS) @PICFLAG@ ifeq ($(notdir $(firstword $(CXX))),g++) # It's GCC, or pretending to be it -- so it better smell like it! # Code generation |