]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
yasm-wrapper: remove redundant option
authorChangcheng Liu <changcheng.liu@aliyun.com>
Wed, 21 Oct 2020 09:06:58 +0000 (17:06 +0800)
committerChangcheng Liu <changcheng.liu@aliyun.com>
Thu, 29 Oct 2020 00:57:54 +0000 (08:57 +0800)
"-fPIC" is covered by "-f"

Signed-off-by: Changcheng Liu <changcheng.liu@aliyun.com>
src/yasm-wrapper

index 28e88b59f728e991c89541f1c8b9a97c847538b8..fb0dcd1f4d794fb01bc44c2afc98e34c18652fde 100755 (executable)
@@ -12,7 +12,7 @@ while [ -n "$*" ]; do
            new="$new -f $1"
            shift
            ;;
-       -g* | -f* | -W* | -MD | -MP | -fPIC | -c | -D* | -E | --param* | -O* | -m* | -pipe | -pthread )
+       -g* | -f* | -W* | -MD | -MP | -c | -D* | -E | --param* | -O* | -m* | -pipe | -pthread )
            shift
            ;;
        -I | -isystem )