Ignore:
Timestamp:
Dec 27, 2009, 4:35:26 AM (10 years ago)
Author:
plkrueger
Message:

Try to conditionally inhibit format (printf) warnings on all platforms;
these warnings are very occasionally useful but are more often just
annoying. (I'm not positive that all platforms' versions of GCC understand
-Wno-format; we'll see.)

Try to ensure that -O2 is used on all platforms.

File:
1 edited

Legend:

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

    r13212 r13336  
    2424CDEBUG = -g
    2525COPT = -O2
     26# Once in a while, -Wformat says something useful.  The odds are against that,
     27# however.
     28WFORMAT = -Wno-format
    2629
    2730# If the linker supports a "--hash-style=" option, use traditional
     
    3942        $(M4) $(M4FLAGS) -I../ $< | $(AS)  $(ASFLAGS) -o $@
    4043.c.o:
    41         $(CC) -c $< $(CDEFINES) $(CDEBUG) $(COPT) -m32 -o $@
     44        $(CC) -c $< $(CDEFINES) $(CDEBUG) $(COPT) $(WFORMAT) -m32 -o $@
    4245
    4346SPOBJ = pad.o x86-spjump32.o x86-spentry32.o x86-subprims32.o
Note: See TracChangeset for help on using the changeset viewer.