From 8fb95e58ea6b2c2fddd0b308acdc160dda217b7b Mon Sep 17 00:00:00 2001 From: eastb233 Date: Tue, 8 Aug 2023 20:05:24 +0800 Subject: [PATCH] [X86] Change -fpic to -fPIC in PICFLAG --- intl/configure | 2 +- libiberty/configure | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/intl/configure b/intl/configure index e75f072f..f8438526 100755 --- a/intl/configure +++ b/intl/configure @@ -6867,7 +6867,7 @@ case "${host}" in # Some targets support both -fPIC and -fpic, but prefer the latter. # FIXME: Why? i[34567]86-*-* | x86_64-*-*) - PICFLAG=-fpic + PICFLAG=-fPIC ;; # FIXME: Override -fPIC default in libgcc only? sh-*-linux* | sh[2346lbe]*-*-linux*) diff --git a/libiberty/configure b/libiberty/configure index 1ccfac9f..0b85f351 100755 --- a/libiberty/configure +++ b/libiberty/configure @@ -5362,7 +5362,7 @@ case "${host}" in # Some targets support both -fPIC and -fpic, but prefer the latter. # FIXME: Why? i[34567]86-*-* | x86_64-*-*) - PICFLAG=-fpic + PICFLAG=-fPIC ;; # FIXME: Override -fPIC default in libgcc only? sh-*-linux* | sh[2346lbe]*-*-linux*) -- 2.19.1