epel9
Irina Boverman 8 years ago
parent 2c3da98f29
commit eafe611f2c

@ -283,14 +283,14 @@ CXX11FLAG=""
%if 0%{?fedora} %if 0%{?fedora}
%cmake \ %cmake \
-DPROTON_DISABLE_RPATH=true \ -DPROTON_DISABLE_RPATH=true \
"-DCMAKE_CXX_FLAGS=$CXX11FLAG $CXXFLAGS" \ "-DCMAKE_CXX_FLAGS=$CXXFLAGS $CXX11FLAG" \
-DSYSINSTALL_PYTHON=1 \ -DSYSINSTALL_PYTHON=1 \
-DSYSINSTALL_PERL=1 \ -DSYSINSTALL_PERL=1 \
. .
%endif %endif
%if 0%{?rhel} %if 0%{?rhel}
%cmake -DPROTON_DISABLE_RPATH=true \ %cmake -DPROTON_DISABLE_RPATH=true \
"-DCMAKE_CXX_FLAGS=$CXX11FLAG $CXXFLAGS" \ "-DCMAKE_CXX_FLAGS=$CXXFLAGS CXX11FLAG" \
-DCMAKE_EXE_LINKER_FLAGS="-Wl,-z,relro,-z,now" \ -DCMAKE_EXE_LINKER_FLAGS="-Wl,-z,relro,-z,now" \
-DCMAKE_SHARED_LINKER_FLAGS="-Wl,-z,relro" \ -DCMAKE_SHARED_LINKER_FLAGS="-Wl,-z,relro" \
-DCMAKE_MODULE_LINKER_FLAGS="-Wl,-z,relro" \ -DCMAKE_MODULE_LINKER_FLAGS="-Wl,-z,relro" \

Loading…
Cancel
Save