From 954245dc834a918cda83cfee7e6195cec4b01298 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Sun, 13 Sep 2015 03:53:43 +0000 Subject: [PATCH] fix error in fdpic patch that enabled fdpic by default --- patches/gcc-5.2.0/0007-fdpic.diff | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches/gcc-5.2.0/0007-fdpic.diff b/patches/gcc-5.2.0/0007-fdpic.diff index 2e16091..6a1a4b7 100644 --- a/patches/gcc-5.2.0/0007-fdpic.diff +++ b/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" ;;