Skip to content

Commit 7213a21

Browse files
committed
Remove CPPFLAGS from moc command lines. moc isn't a C++ compiler and some C++ flags caus it to fail (ex. -isystem).
1 parent b41c74b commit 7213a21

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/projectM-pulseaudio/Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ projectM_pulseaudio_qtheaders = \
1212
nodist_projectM_pulseaudio_moc_sources = $(projectM_pulseaudio_qtheaders:.hpp=_moc.cpp)
1313

1414
.hpp_moc.cpp:
15-
$(MOC) -o$@ $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(CPPFLAGS) $<
15+
$(MOC) -o$@ $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $<
1616

1717
ui_PulseDeviceChooserDialog.h: PulseDeviceChooserDialog.ui
1818
$(UIC) -o $@ $<

src/projectM-qt/Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ projectM_qt_qtheaders = qprojectm_mainwindow.hpp \
2121
nodist_projectM_qt_moc_sources = $(projectM_qt_qtheaders:.hpp=_moc.cpp)
2222

2323
.hpp_moc.cpp:
24-
$(MOC) -o$@ $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(CPPFLAGS) $<
24+
$(MOC) -o$@ $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $<
2525

2626
ui_qprojectm_mainwindow.h: qprojectm_mainwindow.ui
2727
$(UIC) -o $@ $<

0 commit comments

Comments
 (0)