mirror of https://github.com/citusdata/citus.git
Fix depend arguments for OSX clang cpp (#2978)
A better fix for #2975. Apparently for OSX cpp -MF and -MT shouldn't have a space in between the flag and their value. Without the space it still works for gcc as well.pull/2979/head
parent
301febbd2c
commit
af9fb9f785
|
@ -37,7 +37,7 @@ SQL_BUILDDIR=build/sql
|
|||
|
||||
$(generated_sql_files): $(citus_abs_srcdir)/build/%: %
|
||||
@mkdir -p $(citus_abs_srcdir)/$(SQL_DEPDIR) $(citus_abs_srcdir)/$(SQL_BUILDDIR)
|
||||
cd $(citus_abs_srcdir) && cpp -undef -w -P $< > $@
|
||||
cd $(citus_abs_srcdir) && cpp -undef -w -P -MMD -MP -MF$(SQL_DEPDIR)/$(*F).Po -MT$@ $< > $@
|
||||
|
||||
SQL_Po_files := $(wildcard $(SQL_DEPDIR)/*.Po)
|
||||
ifneq (,$(SQL_Po_files))
|
||||
|
|
Loading…
Reference in New Issue