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
1 changed files with 2 additions and 2 deletions

View File

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