gen-linker-script: added -c option for compatibility with collect-symbols.
authorKrisztian Litkey <krisztian.litkey@intel.com>
Mon, 11 Feb 2013 14:04:21 +0000 (16:04 +0200)
committerKrisztian Litkey <krisztian.litkey@intel.com>
Mon, 11 Feb 2013 17:44:12 +0000 (19:44 +0200)
build-aux/gen-linker-script

index 3a41950..b558efa 100755 (executable)
@@ -64,6 +64,13 @@ while [ -n "${1#-}" ]; do
        -q)
            QUIET="yes"
            ;;
+        -c)
+            # This is only for command-line compatibility with collect-symbols
+            # to minimize the impact of switching back and forth (if needed).
+            # collect-symbols gets compilation flags passed using the -c
+            # option which we simply ignore here when using ctags.
+            shift
+            ;;
         -*)
             error "Unknown option '$1'."
             usage