3
0
Fork 0
forked from mirrors/nixpkgs

gdal_1_11: turn off format hardening

This commit is contained in:
Robin Gloster 2016-02-12 01:10:08 +00:00
parent 40b7aa3d69
commit dcc046f5c7

View file

@ -19,6 +19,8 @@ composableDerivation.composableDerivation {} (fixed: rec {
./python.patch ./python.patch
]; ];
hardening_format = false;
# Don't use optimization for gcc >= 4.3. That's said to be causing segfaults. # Don't use optimization for gcc >= 4.3. That's said to be causing segfaults.
# Unset CC and CXX as they confuse libtool. # Unset CC and CXX as they confuse libtool.
preConfigure = "export CFLAGS=-O0 CXXFLAGS=-O0; unset CC CXX"; preConfigure = "export CFLAGS=-O0 CXXFLAGS=-O0; unset CC CXX";