Changeset 11578


Ignore:
Timestamp:
Jan 5, 2009, 5:32:35 AM (11 years ago)
Author:
gb
Message:

Try to disable gcc warnings about formatting directives. Once in a while,
one of these warnings might say something useful ("if you give a million
monkeys a million typewriters, sooner or later one of them will write
King Lear"), but the warnings are often useless.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/lisp-kernel/linuxppc64/Makefile

    r10737 r11578  
    2525CDEFINES = -DLINUX -D_REENTRANT -DPPC -DPPC64 -D_GNU_SOURCE
    2626CDEBUG = -g
    27 COPT = #-O2
     27COPT = -O2
     28# word size issues are a little more relevant on a 64-bit platform
     29# than elsewhere, but most gcc format warnings are still nonsense.
     30WFORMAT = -Wno-format
    2831
    2932# If the linker supports a "--hash-style=" option, use traditional
     
    4144        $(M4) $(M4FLAGS) -I../ $< | $(AS)  $(ASFLAGS) -o $@
    4245.c.o:
    43         $(CC) -c $< $(CDEFINES) $(CDEBUG) $(COPT) -m64 -o $@
     46        $(CC) -c $< $(CDEFINES) $(CDEBUG) $(COPT) $(WFORMAT) -m64 -o $@
    4447
    4548SPOBJ = pad.o ppc-spjump.o ppc-spentry.o ppc-subprims.o
Note: See TracChangeset for help on using the changeset viewer.