qt: don't use CPPFLAGS for tools that cannot use them
For example moc will bail out when given arguments it does not know about. The moc specific MOC_CPPFLAGS can still be used to pass flags to moc. https://bugzilla.gnome.org/show_bug.cgi?id=754466
This commit is contained in:
parent
fdf2a73ec0
commit
f12caa5c22
@ -42,7 +42,7 @@ libgstqtsink_la_LIBTOOLFLAGS = $(GST_PLUGIN_LIBTOOLFLAGS)
|
||||
|
||||
|
||||
$(moc_generated): moc_%.cc: %.h
|
||||
@MOC@ -o $@ $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(MOC_CPPFLAGS) $<
|
||||
@MOC@ -o $@ $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(MOC_CPPFLAGS) $<
|
||||
|
||||
ui-%.h: %.ui
|
||||
@UIC@ -o $@ $<
|
||||
|
Loading…
x
Reference in New Issue
Block a user