do not use LD if you aren't using ld
All the uses of LD actually wanted g++, so just use CXX and remove an unused LD define Closes: https://github.com/pentoo/pentoo-overlay/issues/1259 Fixes: https://github.com/RfidResearchGroup/proxmark3/pull/1758
This commit is contained in:
3 files changed
+5
-6
No files matched your search
+2
-2
@@ -86,8 +86,8 @@ $(BINDIR)/$(LIB_A): $(MYOBJS) $(MYCXXOBJS)
|
||||
$(Q)$(RANLIB) $@
|
||||
|
||||
$(BINDIR)/% : $(OBJDIR)/%.o $(MYOBJS) $(MYCXXOBJS) $(MYLIBS)
|
||||
$(info [=] LD $(notdir $@))
|
||||
$(Q)$(LD) $(LDFLAGS) $(MYOBJS) $(MYCXXOBJS) $< -o $@ $(MYLIBS) $(MYLDLIBS)
|
||||
$(info [=] CXX $(notdir $@))
|
||||
$(Q)$(CXX) $(LDFLAGS) $(MYOBJS) $(MYCXXOBJS) $< -o $@ $(MYLIBS) $(MYLDLIBS)
|
||||
|
||||
%.o: %.c
|
||||
$(OBJDIR)/%.o : %.c $(OBJDIR)/%.d | $(OBJDIR)
|
||||
|
||||
Reference in new issue
Block a user