Ticket #70449: patch-Xcode-gcc.diff

File patch-Xcode-gcc.diff, 896 bytes (added by thaewrapt (Alexey Ugnichev), 4 months ago)

Possible new version of the patch

  • Makefile.in

     
    2424############## Optimiser / Warning flags #####
    2525COPTFLAGS_gcc_debug=    -O0 -g3 -pipe -Wall -Wextra -Werror -fPIC
    2626COPTFLAGS_gcc_release=  -O2 -pipe -fPIC
    27 COPTFLAGS_clang_debug=  -O0 -g3 -pipe -Wall -Wextra -Wno-gnu-zero-variadic-macro-arguments -Werror -fPIC
     27COPTFLAGS_clang_debug=  -O0 -g3 -pipe -Wall -Wextra -Werror -fPIC
    2828COPTFLAGS_clang_release=-O2 -pipe -fPIC
    2929COPTFLAGS_xlc_debug=    -qpic -qcheck=all -qfulldebug -qnoopt -g -qhalt=w
    3030COPTFLAGS_xlc_release=  -qpic -qoptimize=4
     
    3939
    4040############## CFLAGS ########################
    4141ENV_CFLAGS=             @ENV_CFLAGS@
    42 CFLAGS_clang=           -Wno-gnu-zero-variadic-macro-arguments
     42CFLAGS_clang=
    4343CFLAGS=                 $(CSTDFLAGS) $(COPTFLAGS) $(CFLAGS_$(CCOM)) -I@SRCDIR@/include -I@SRCDIR@/thirdparty -I. $(ENV_CFLAGS)
    4444
    4545ENV_CFLAGS_FOR_BUILD=   @ENV_CFLAGS_FOR_BUILD@