Ticket #35896: patch-config.mk-separate-cppflags.diff

File patch-config.mk-separate-cppflags.diff, 778 bytes (added by neverpanic (Clemens Lang), 12 years ago)
  • config.mk

    old new  
    1717# FLAGS
    1818CC ?= gcc
    1919LD = $(CC)
    20 CFLAGS ?= -g -pedantic -Wall
    21 CFLAGS += -std=c99 ${INCS} -D _XOPEN_SOURCE=600
     20CFLAGS ?= -g
     21CFLAGS += -pedantic -Wall -std=c99
    2222VERSIONFLAGS = \
    2323    -D HERBSTLUFT_VERSION=$(VERSION) \
    2424    -D HERBSTLUFT_VERSION_MAJOR=$(VERSION_MAJOR) \
    2525    -D HERBSTLUFT_VERSION_MINOR=$(VERSION_MINOR)
    26 CFLAGS += $(VERSIONFLAGS)
    27 CFLAGS += $(XINERAMAFLAGS)
    28 CFLAGS += -D HERBSTLUFT_GLOBAL_AUTOSTART=\"$(CONFIGDIR)/autostart\"
     26CPPFLAGS ?=
     27CPPFLAGS += $(INCS) -D _XOPEN_SOURCE=600 $(VERSIONFLAGS) $(XINERAMAFLAGS)
     28CPPFLAGS += -D HERBSTLUFT_GLOBAL_AUTOSTART=\"$(CONFIGDIR)/autostart\"
    2929LDFLAGS ?= -g
    3030DESTDIR = /
    3131PREFIX = /usr/local