Makefile.am: Use $(CXXCOMPILE) to compile C++ code
When compiling the SWIG wrappers for the Java bindings, use the correct automake macro so that all compiler flags are honoured.
This commit is contained in:
parent
ac10a927b5
commit
d1a5f73781
|
@ -523,7 +523,7 @@ $(JJAR): $(JCXX)
|
|||
$(AM_V_at)jar cf $(JJAR) -C $(JDIR) $(JPKG)
|
||||
|
||||
$(JLIB): $(JCXX) bindings/cxx/libsigrokxx.la $(library_include_HEADERS)
|
||||
$(AM_V_GEN)$(CXX) $(CXXFLAGS) -L.libs -Lbindings/cxx/.libs \
|
||||
$(AM_V_GEN)$(CXXCOMPILE) -L.libs -Lbindings/cxx/.libs \
|
||||
-fno-strict-aliasing -fPIC -shared $(JCLS)/classes_wrap.cxx \
|
||||
-lsigrokxx -o $(JLIB)
|
||||
|
||||
|
|
Loading…
Reference in New Issue