Ticket #32856: compiler_Makefile.patch.diff

File compiler_Makefile.patch.diff, 1.5 KB (added by cavendish.qi@…, 13 years ago)

compiler_Makefile update patch

  • compiler_Makefile.patch

    old new  
    1 --- compiler/Makefile.orig      2011-08-04 23:50:11.000000000 +1000
    2 +++ compiler/Makefile   2011-08-04 23:52:39.000000000 +1000
    3 @@ -188,10 +188,10 @@
     1--- Makefile.orig       2012-01-12 09:31:09.000000000 +0100
     2+++ Makefile    2012-01-12 09:46:59.000000000 +0100
     3@@ -248,15 +248,11 @@
     4     -Waggregate-return \
     5     -Wchar-subscripts \
     6     -Wempty-body \
     7-    -Wlogical-op \
     8     -Wmissing-declarations \
     9     -Wmissing-field-initializers \
     10-    -Wmissing-parameter-type \
     11     -Wnested-externs \
     12-    -Wold-style-declaration \
     13     -Wold-style-definition \
     14-    -Wredundant-decls \
     15-    -Wtype-limits
     16+    -Wredundant-decls
     17 
     18 #
     19 # Bison/Flex configuration
     20@@ -306,10 +302,10 @@
    421 # by the utilities above and they are not necessarily ANSI C, etc.
    522 #
    623 aslcompilerlex.o :   aslcompilerlex.c
    7 -       $(CC) -c $(CFLAGS) -Wall -Werror -o$@ $?
    8 +       $(CC) -c $(CFLAGS) -Wall -o$@ $?
     24-       $(CC) -c $(CFLAGS) -Wall -Werror -Wstrict-aliasing=0 -o$@ $?
     25+       $(CC) -c $(CFLAGS) -Wall -Wstrict-aliasing=0 -o$@ $?
    926 
    1027 aslcompilerparse.o : aslcompilerparse.c
    11 -       $(CC) -c $(CFLAGS) -Wall -Werror -o$@ $?
    12 +       $(CC) -c $(CFLAGS) -Wall -o$@ $?
     28-       $(CC) -c $(CFLAGS) -Wall -Werror -Wstrict-aliasing=0 -o$@ $?
     29+       $(CC) -c $(CFLAGS) -Wall -Wstrict-aliasing=0 -o$@ $?
    1330 
    14  
    15  #
     31 dtparserlex.o :      dtparserlex.c
     32        $(CC) -c $(CFLAGS) -Wall -Werror -Wstrict-aliasing=0 -o$@ $?