diff options
| author | nyamatongwe <devnull@localhost> | 2013-01-26 11:18:08 +1100 |
|---|---|---|
| committer | nyamatongwe <devnull@localhost> | 2013-01-26 11:18:08 +1100 |
| commit | 9b97947003e35389fb1a36cb230712a59cb8fd0b (patch) | |
| tree | 013f81a06edf22e156740ddb1619d083ebffa081 | |
| parent | 9603d36e3e9d2b02fcca6e8ac0c9c2f8b9ca59a7 (diff) | |
| download | scintilla-mirror-9b97947003e35389fb1a36cb230712a59cb8fd0b.tar.gz | |
Use CXXFLAGS for C++ only, not for C.
| -rw-r--r-- | gtk/makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/makefile b/gtk/makefile index e0c646c1f..c3ba18b73 100644 --- a/gtk/makefile +++ b/gtk/makefile @@ -58,9 +58,9 @@ THREADFLAGS= endif ifdef DEBUG -CXXTFLAGS=-DDEBUG -g $(CXXFLAGS) $(CXXBASEFLAGS) $(THREADFLAGS) +CXXTFLAGS=-DDEBUG -g $(CXXBASEFLAGS) $(THREADFLAGS) else -CXXTFLAGS=-DNDEBUG -Os $(CXXFLAGS) $(CXXBASEFLAGS) $(THREADFLAGS) +CXXTFLAGS=-DNDEBUG -Os $(CXXBASEFLAGS) $(THREADFLAGS) endif CFLAGS:=$(CXXTFLAGS) @@ -69,7 +69,7 @@ CONFIGFLAGS:=$(shell pkg-config --cflags $(GTKVERSION)) MARSHALLER=scintilla-marshal.o .cxx.o: - $(CC) $(CONFIGFLAGS) $(CXXTFLAGS) -c $< + $(CC) $(CONFIGFLAGS) $(CXXTFLAGS) $(CXXFLAGS) -c $< .c.o: $(CCOMP) $(CONFIGFLAGS) $(CFLAGS) -w -c $< |
