projects
/
voyage-au-centre-des-fichiers.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9570b8a
)
Avoided future, and probably current, problems by enabling -fno-strict-aliasing
author
Amelia Coutard
<eliottulio.coutard@gmail.com>
Fri, 10 Mar 2023 17:04:18 +0000
(18:04 +0100)
committer
Amelia Coutard
<eliottulio.coutard@gmail.com>
Fri, 10 Mar 2023 17:04:18 +0000
(18:04 +0100)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index 6aaa2204f25db14f5bc3d287957e5dfe9be47e12..c66659794be1f575a3709de77d8c78d4887e73e0 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-14,7
+14,7
@@
build: # Build as default target
CXX := x86_64-elf-g++
CXXFLAGS ?= -O2
-CXXFLAGS := $(CXXFLAGS) -Wall -Wextra -Werror -std=c++20 \
+CXXFLAGS := $(CXXFLAGS) -
fno-strict-aliasing -
Wall -Wextra -Werror -std=c++20 \
-mno-mmx -mno-sse -mno-sse2 -fno-exceptions -fno-rtti -ffreestanding
LDFLAGS ?= -O2
LDFLAGS := $(LDFLAGS) -Wall -Wextra -Werror -std=c++20 -ffreestanding