| 1 |
Description: Add -fno-jump-tables to optimization flags |
| 2 |
Original author: Scott Ashcroft <[email protected]> |
| 3 |
Author: Matthias Geiger <[email protected]> |
| 4 |
Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1086256 |
| 5 |
Forwarded: not-needed |
| 6 |
Last-Update: 2025-03-19 |
| 7 |
--- |
| 8 |
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ |
| 9 |
|
| 10 |
--- a/bootloaders/atmega8/Makefile |
| 11 |
+++ b/bootloaders/atmega8/Makefile |
| 12 |
@@ -26,7 +26,7 @@ |
| 13 |
|
| 14 |
|
| 15 |
OBJ = $(PROGRAM).o |
| 16 |
-OPTIMIZE = -Os -funsigned-char -funsigned-bitfields -fno-inline-small-functions |
| 17 |
+OPTIMIZE = -Os -funsigned-char -funsigned-bitfields -fno-inline-small-functions -fno-jump-tables |
| 18 |
|
| 19 |
DEFS = -DF_CPU=16000000 -DBAUD_RATE=19200 |
| 20 |
LIBS = |