Linux: compile lx_hybrid_ctors test for correct ARCH

Fixes #900
This commit is contained in:
Stefan Kalkowski 2013-10-02 13:59:32 +02:00 committed by Norman Feske
parent 91de81a10a
commit 339193a887

View File

@ -11,8 +11,8 @@ $(TARGET): $(TESTLIB_SO)
$(TESTLIB_SO): $(TESTLIB_SRC_CC) $(TESTLIB_SO): $(TESTLIB_SRC_CC)
$(MSG_BUILD)$(TESTLIB_SO) $(MSG_BUILD)$(TESTLIB_SO)
$(VERBOSE)g++ -fPIC -c $^ $(VERBOSE)g++ $(CC_MARCH) -fPIC -c $^
$(VERBOSE)g++ -shared -o $@ $(notdir $(^:.cc=.o)) $(VERBOSE)g++ $(CC_MARCH) -shared -o $@ $(notdir $(^:.cc=.o))
clean_libtestlib: clean_libtestlib:
$(VERBOSE)rm -f $(TESTLIB_SO) $(TESTLIB_SRC_CC:.cc=.o) $(VERBOSE)rm -f $(TESTLIB_SO) $(TESTLIB_SRC_CC:.cc=.o)