1
0

002-makefile-gcc-linker.patch 1.2 KB

123456789101112131415161718192021222324252627282930313233
  1. --- a/examples/TestMasterMicroMod/Makefile.in
  2. +++ b/examples/TestMasterMicroMod/Makefile.in
  3. @@ -56,7 +56,7 @@
  4. $(TESTMASTERMICROMOD): $(OBJS)
  5. - $(LD) $(CFLAGS) $(PROG_CFLAGS) ${PROGDEFINES} $(INCLUDES) -o $@ $(OBJS) $(EXE_CFLAGS)
  6. + $(CC) $(CFLAGS) $(PROG_CFLAGS) ${PROGDEFINES} $(INCLUDES) -o $@ $(OBJS) $(EXE_CFLAGS)
  7. TestMaster.c: TestMaster.od
  8. --- a/examples/TestMasterSlave/Makefile.in
  9. +++ b/examples/TestMasterSlave/Makefile.in
  10. @@ -65,7 +65,7 @@
  11. $(TESTMASTERSLAVE): $(OBJS)
  12. - $(LD) $(CFLAGS) $(PROG_CFLAGS) ${PROGDEFINES} $(INCLUDES) -o $@ $(OBJS) $(EXE_CFLAGS)
  13. + $(CC) $(CFLAGS) $(PROG_CFLAGS) ${PROGDEFINES} $(INCLUDES) -o $@ $(OBJS) $(EXE_CFLAGS)
  14. TestSlave.c: TestSlave.od
  15. $(MAKE) -C ../../objdictgen gnosis
  16. --- a/examples/CANOpenShell/Makefile.in
  17. +++ b/examples/CANOpenShell/Makefile.in
  18. @@ -64,7 +64,7 @@
  19. $(MAKE) -C ../../drivers/$(TARGET) libcanfestival_$(TARGET).a
  20. $(CANOPENSHELL): $(OBJS)
  21. - $(LD) $(CFLAGS) $(PROG_CFLAGS) ${PROGDEFINES} $(INCLUDES) -o $@ $(OBJS) $(EXE_CFLAGS)
  22. + $(CC) $(CFLAGS) $(PROG_CFLAGS) ${PROGDEFINES} $(INCLUDES) -o $@ $(OBJS) $(EXE_CFLAGS)
  23. mkdir -p Debug; cp $(CANOPENSHELL) Debug
  24. CANOpenShellMasterOD.c: CANOpenShellMasterOD.od