diff options
author | Adam Mitz <mitza@ociweb.com> | 2018-09-14 16:48:03 -0500 |
---|---|---|
committer | Adam Mitz <mitza@ociweb.com> | 2018-09-14 16:48:03 -0500 |
commit | d7a016d95667eef10badf3ecc88834b124348734 (patch) | |
tree | 3676947231f4384b977156b4247283d191763075 /config | |
parent | b916f1237890241074dc8c313cf9be323b07b575 (diff) | |
download | MPC-d7a016d95667eef10badf3ecc88834b124348734.tar.gz |
qt5 with -type gnuace: provide workaround in case no PIC flag is defined (such as static_libs_only)
Diffstat (limited to 'config')
-rw-r--r-- | config/qt5_core.mpb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/config/qt5_core.mpb b/config/qt5_core.mpb index 08506084..2f8aca74 100644 --- a/config/qt5_core.mpb +++ b/config/qt5_core.mpb @@ -26,7 +26,7 @@ project { // On Linux at least, Qt5 by default requires position independent code specific (gnuace) { - compile_flags += $(PIC) + compile_flags += $(if $(PIC),$(PIC),-fPIC) } specific (prop:microsoft) { @@ -65,4 +65,3 @@ project { source_outputext = .cpp } } - |