Skip to content

Commit

Permalink
Fix build on R4.0
Browse files Browse the repository at this point in the history
Fedora 25's gcc doesn't support `-fcf-protection`,
`-fstack-clash-protection`, or `-fwrapv-pointer`.  genfs runs on trusted
input, so these flags are not necessary.  Drop them.
  • Loading branch information
DemiMarie committed Jan 9, 2022
1 parent 36684dd commit d8f8a09
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions genfs-makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
MAKEFLAGS ::= -rR
CFLAGS ::= $(shell pkg-config --cflags --libs ext2fs com_err) \
-fstack-protector-all -fcf-protection -fstack-clash-protection -O2 \
-D_FORITFY_SOURCE=2 -fwrapv -fwrapv-pointer \
-fstack-protector-all -O2 -D_FORITFY_SOURCE=2 -fwrapv \
-fno-delete-null-pointer-checks -fno-strict-aliasing -Wall -Wextra \
-Werror=format-security -pedantic-errors -Wformat=2 -Wmaybe-uninitialized \
-Wshadow -g3
Expand Down

0 comments on commit d8f8a09

Please sign in to comment.