Changeset 110272


Ignore:
Timestamp:
Aug 29, 2013, 12:29:58 PM (7 years ago)
Author:
jmr@…
Message:

Use -std=c99 for compiling all the C in base. This is the default with clang, so we might as well be consistent.

Location:
trunk/base
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/Mk/macports.autoconf.mk.in

    r81642 r110272  
    88
    99CC                      = @CC@
    10 CFLAGS                  = @CFLAGS@ $(CFLAGS_QUICHEEATERS) $(CFLAGS_PEDANTIC) $(CFLAGS_WERROR)
     10CFLAGS                  = @CFLAGS@ -std=c99 $(CFLAGS_QUICHEEATERS) $(CFLAGS_PEDANTIC) $(CFLAGS_WERROR)
    1111OBJCFLAGS               = @OBJCFLAGS@ $(CFLAGS_QUICHEEATERS) $(CFLAGS_PEDANTIC) $(CFLAGS_WERROR)
    1212CPPFLAGS                = @CPPFLAGS@ @DEFS@ @INCLUDES@ @TCL_INCLUDES@
  • trunk/base/src/darwintracelib1.0/Makefile

    r108150 r110272  
    55include ../../Mk/macports.autoconf.mk
    66
    7 CFLAGS+= -fPIC -Wno-deprecated-declarations -std=c99
     7CFLAGS+= -fPIC -Wno-deprecated-declarations
    88CFLAGS_PEDANTIC=
    99
  • trunk/base/src/machista1.0/Makefile.in

    r92838 r110272  
    1616include ../../Mk/macports.tea.mk
    1717
    18 CFLAGS+= -fPIC -std=c99 -pedantic
     18CFLAGS+= -fPIC
    1919
    2020${SWIG_SRCS}:: ${SWIG_IFACE}
Note: See TracChangeset for help on using the changeset viewer.