Use BUILD_ERROR_DELIMITER not hard-coded constant
authorKevin Klues <klueska@cs.berkeley.edu>
Sat, 18 Jul 2015 17:59:24 +0000 (10:59 -0700)
committerKevin Klues <klueska@cs.berkeley.edu>
Sat, 18 Jul 2015 17:59:24 +0000 (10:59 -0700)
tools/compilers/gcc-glibc/Makefile

index f545dc0..e7e9985 100644 (file)
@@ -191,7 +191,7 @@ $(MAKECMDGOALS): make-real
 make-real:
        @echo "$${BUILD_ERRORS}" |\
        awk '\
-               BEGIN { RS="<##>"; FS="<##>"; }\
+               BEGIN { RS="$(BUILD_ERROR_DELIMITER)"; FS="$(BUILD_ERROR_DELIMITER)"; }\
                { str[NR] = $$i; }\
                END { for (i = 1; i < NR; i++) {\
                                print "Error Detected:";\