diff options
| author | Iain R. Learmonth <irl@debian.org> | 2015-10-18 20:17:34 +0100 |
|---|---|---|
| committer | Iain R. Learmonth <irl@debian.org> | 2015-10-18 20:19:37 +0100 |
| commit | 6a629319c0b9733446e4ea0b429d0fe7e3e4f25e (patch) | |
| tree | 032f704ebce33daf16d2b34e9a56cf1143b655d7 /debian | |
| parent | b362bc7d70ee5db164b5b95aa1e8cfc54c8e3dfe (diff) | |
Position independent code for linking against Qt
Diffstat (limited to 'debian')
| -rw-r--r-- | debian/patches/0004-inherit-cflags-fflags.patch | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/debian/patches/0004-inherit-cflags-fflags.patch b/debian/patches/0004-inherit-cflags-fflags.patch index 47514558..4773cf01 100644 --- a/debian/patches/0004-inherit-cflags-fflags.patch +++ b/debian/patches/0004-inherit-cflags-fflags.patch @@ -19,8 +19,17 @@ Last-Update: 2015-10-18 -FFLAGS = -O3 -funroll-loops -Wall -Wno-conversion -fno-second-underscore -DUNIX -CFLAGS = -I. -fbounds-check -fPIE -+FFLAGS += -O3 -funroll-loops -Wall -Wno-conversion -fno-second-underscore -DUNIX -+CFLAGS += -I. -fbounds-check -fPIE ++FFLAGS += -O3 -funroll-loops -Wall -Wno-conversion -fno-second-underscore -DUNIX -fPIC ++CFLAGS += -I. -fbounds-check -fPIC # Default rules %.o: %.c +@@ -95,7 +95,7 @@ + $(FC) $(FFLAGS) -c redsync.f90 + + ipcomm.o: ipcomm.cpp +- $(CXX) -c $(INCPATH) -fPIE ipcomm.cpp ++ $(CXX) -c $(INCPATH) -fPIC ipcomm.cpp + + sec_midn.o: sec_midn.f90 + $(FC) -c -fno-second-underscore sec_midn.f90 |
