diff options
author | Oxore <oxore@protonmail.com> | 2023-05-06 14:23:17 +0300 |
---|---|---|
committer | Oxore <oxore@protonmail.com> | 2023-05-06 14:23:17 +0300 |
commit | d1793cc9db3b1d02426b90fcfda567254ea07198 (patch) | |
tree | 1f1f076561d2035071ea1c80c24b46fbc59cc324 | |
parent | 8f759aee27f45e6208f229038a2d80a505ec0244 (diff) |
Disable LTO to be able to debug it with GDB
-rw-r--r-- | 1_hello_world/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/1_hello_world/Makefile b/1_hello_world/Makefile index 0beb163..0a4b3a2 100644 --- a/1_hello_world/Makefile +++ b/1_hello_world/Makefile @@ -1,5 +1,5 @@ WARNFLAGS = -Wall -Wextra -pedantic -Wshadow -Wlogical-op -OPTFLAGS = -Os -flto +OPTFLAGS = -Os ARCHFLAGS = -m68000 _CFLAGS = $(CFLAGS) $(WARNFLAGS) $(ARCHFLAGS) $(OPTFLAGS) -g3 -ffunction-sections -fdata-sections LDSCRIPTS = m68k.ld _sram.ld _rom.ld |