OSDN Git Service

suncc: Replace more GCC flags by their equivalents in suncc_flags()
authorSean McGovern <gseanmcg@gmail.com>
Mon, 14 Jan 2013 17:51:59 +0000 (12:51 -0500)
committerDiego Biurrun <diego@biurrun.de>
Mon, 14 Jan 2013 19:53:06 +0000 (20:53 +0100)
Signed-off-by: Diego Biurrun <diego@biurrun.de>
configure

index 554d578..3d5fe7c 100755 (executable)
--- a/configure
+++ b/configure
@@ -2241,7 +2241,8 @@ suncc_flags(){
             -fomit-frame-pointer) echo -xregs=frameptr    ;;
             -fPIC)                echo -KPIC -xcode=pic32 ;;
             -W*,*)                echo $flag              ;;
-            -f*-*|-W*)                                    ;;
+            -f*-*|-W*|-mimpure-text)                      ;;
+            -shared)              echo -G                 ;;
             *)                    echo $flag              ;;
         esac
     done