Prechádzať zdrojové kódy

fix error in fdpic patch that enabled fdpic by default

Rich Felker 9 rokov pred
rodič
commit
954245dc83
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      patches/gcc-5.2.0/0007-fdpic.diff

+ 1 - 1
patches/gcc-5.2.0/0007-fdpic.diff

@@ -1870,7 +1870,7 @@ diff -urp ../baseline/gcc-5.2.0/gcc/config.gcc gcc-5.2.0/gcc/config.gcc
  	tm_file="${tm_file} dbxelf.h elfos.h sh/elf.h"
  	case ${target} in
  	sh*-*-linux*)	tmake_file="${tmake_file} sh/t-linux"
-+			if test x$enable_fdpic != xno; then
++			if test x$enable_fdpic = xyes; then
 +				tm_defines="$tm_defines FDPIC_DEFAULT=1"
 +			fi
  			tm_file="${tm_file} gnu-user.h linux.h glibc-stdint.h sh/linux.h" ;;