Browse Source

Use -fno-use-cxa-atexit to override gcc --enable-cxa_atexit

Guillaume Seguin 11 years ago
parent
commit
d4d1540727
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      Marlin/Makefile

+ 1
- 0
Marlin/Makefile View File

283
 CTUNING += -DMOTHERBOARD=${HARDWARE_MOTHERBOARD}
283
 CTUNING += -DMOTHERBOARD=${HARDWARE_MOTHERBOARD}
284
 endif
284
 endif
285
 #CEXTRA = -Wa,-adhlns=$(<:.c=.lst)
285
 #CEXTRA = -Wa,-adhlns=$(<:.c=.lst)
286
+CEXTRA = -fno-use-cxa-atexit
286
 
287
 
287
 CFLAGS := $(CDEBUG) $(CDEFS) $(CINCS) -O$(OPT) $(CWARN) $(CEXTRA) $(CTUNING)
288
 CFLAGS := $(CDEBUG) $(CDEFS) $(CINCS) -O$(OPT) $(CWARN) $(CEXTRA) $(CTUNING)
288
 CXXFLAGS :=         $(CDEFS) $(CINCS) -O$(OPT) -Wall    $(CEXTRA) $(CTUNING)
289
 CXXFLAGS :=         $(CDEFS) $(CINCS) -O$(OPT) -Wall    $(CEXTRA) $(CTUNING)

Loading…
Cancel
Save