diff --git a/microemacs/src/linuxgcc.mak b/microemacs/src/linuxgcc.mak index dadf87ac..15812df0 100644 --- a/microemacs/src/linuxgcc.mak +++ b/microemacs/src/linuxgcc.mak @@ -70,7 +70,7 @@ CCDEFS = -m$(BIT_SIZE) -D_LINUX -D_ARCHITEC=$(ARCHITEC) -D_TOOLKIT=$(TOOLKIT) CCFLAGSR = -O3 -flto -DNDEBUG=1 -Wall -Wno-uninitialized -Wno-unused-result CCFLAGSD = -g -Wall LDDEFS = -m$(BIT_SIZE) -LDFLAGSR = -O3 -flto +LDFLAGSR = -O3 -flto=auto LDFLAGSD = -g LDLIBS = -lm -ldl diff --git a/microemacs/src/macoscc.mak b/microemacs/src/macoscc.mak index ccc81711..c9a42494 100644 --- a/microemacs/src/macoscc.mak +++ b/microemacs/src/macoscc.mak @@ -92,7 +92,7 @@ CCDEFS = -m$(BIT_SIZE) $(ARCFLAGS) -D_MACOS -D_ARCHITEC=$(ARCHITEC) -D_TOOLKIT CCFLAGSR = -O3 -flto -DNDEBUG=1 -Wno-uninitialized CCFLAGSD = -g LDDEFS = -m$(BIT_SIZE) $(ARCFLAGS) -LDFLAGSR = -O3 -flto +LDFLAGSR = -O3 -flto=auto LDFLAGSD = -g LDLIBS = ARFLAGSR = rcs