aboutsummaryrefslogtreecommitdiff
path: root/config/mt-sparcpic
diff options
context:
space:
mode:
Diffstat (limited to 'config/mt-sparcpic')
-rw-r--r--config/mt-sparcpic2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/mt-sparcpic b/config/mt-sparcpic
index 35b8c9e..fd0ec27 100644
--- a/config/mt-sparcpic
+++ b/config/mt-sparcpic
@@ -1 +1 @@
-PICFLAG_FOR_TARGET=-fPIC
+PICFLAG_FOR_TARGET=`case "${LIBCFLAGS} ${LIBCXXFLAGS}" in *-fpic* ) echo -fpic ;; * ) echo -fPIC ;; esac`