]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
src/yasm-wrapper: ignore parameters starting with ggc-min
authorNathan Cutler <ncutler@suse.com>
Thu, 18 Feb 2016 23:22:28 +0000 (00:22 +0100)
committerNathan Cutler <ncutler@suse.com>
Fri, 19 Feb 2016 14:36:21 +0000 (15:36 +0100)
When the "with lowmem_builder" bcond is active, the string "--param
ggc-min-expand=20 --param ggc-min-heapsize=32768" is added to
RPM_OPT_FLAGS. In the course of the build, these parameters get passed on
to yasm-wrapper, making it unhappy.

http://tracker.ceph.com/issues/14811 Fixes: #14811

Signed-off-by: Nathan Cutler <ncutler@suse.com>
src/yasm-wrapper

index 36951920b04228d2d6fc7cb04030259dc02e22d0..9500d2faa1d89c8e4f6fbbcd15ac33f2c5c35fcc 100755 (executable)
@@ -12,7 +12,7 @@ while [ -n "$*" ]; do
            new="$new -f $1"
            shift
            ;;
-       -g* | -f* | -W* | -MD | -MP | -fPIC | -c | -D* | --param* | -O* | -m* | -pipe )
+       -g* | -f* | -W* | -MD | -MP | -fPIC | -c | -D* | --param* | -O* | -m* | -pipe | ggc-min* )
            shift
            ;;
        -I )
@@ -41,4 +41,4 @@ yasm $new
 
 [ -n "$touch" ] && touch $touch
 
-true
\ No newline at end of file
+true