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:
Marcus Comstedt 2014-08-31 10:49:02 +02:00 committed by Bert Vermeulen
parent ac10a927b5
commit d1a5f73781
1 changed files with 1 additions and 1 deletions

View File

@ -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)