Use %global instead of %define

This commit is contained in:
Miro Hrončok 2015-05-04 12:47:32 +02:00
parent 524d40e5a2
commit 819b9f5595

View File

@ -337,14 +337,14 @@ BuildPyPy() {
# This is the most portable option, and avoids a reliance on non-guaranteed
# behaviors within GCC's code generator: use an explicitly-maintained stack
# of root pointers:
%define gcrootfinder_options --gcrootfinder=shadowstack
%global gcrootfinder_options --gcrootfinder=shadowstack
export CFLAGS=$(echo "$RPM_OPT_FLAGS")
%else
# Go with the default, which is "asmgcc"
%define gcrootfinder_options %{nil}
%global gcrootfinder_options %{nil}
# https://bugzilla.redhat.com/show_bug.cgi?id=588941#c18
# The generated Makefile compiles the .c files into assembler (.s), rather