Browse Source

gcc: Fix handling of `cflags' in test instructions.

* gcc-plugin/tests/run-test.in (compile/match): Suitably parse `cflags'.
Ludovic Courtès 13 years ago
parent
commit
d7645e758d
1 changed files with 1 additions and 2 deletions
  1. 1 2
      gcc-plugin/tests/run-test.in

+ 1 - 2
gcc-plugin/tests/run-test.in

@@ -323,8 +323,7 @@ otherwise."
                             (car instructions)))
                        ((cflags)
                         `(,@cflags
-                          ,@(or (and=> (assq-ref options 'cflags) cadr)
-                                '())
+                          ,@(or (assq-ref options 'cflags) '())
                           ,@(if (memq goal '(link run))
                                 `("-o" ,exe)
                                 '("-c"))))