Source fortification now works correctly : it compiles without warning except unused result and the resulting tcc is working fine. Hence let's stop disabling source fortification and hide unused result instead.
Unified · Split
| @@ -13,7 +13,7 @@ LDFLAGS_P=$(LDFLAGS) · 12 unmodified lines | ||
| 13 | 13 | ifneq ($(GCC_MAJOR),2) |
| 14 | 14 | CFLAGS+=-fno-strict-aliasing |
| 15 | 15 | ifneq ($(GCC_MAJOR),3) |
| 16 | −CFLAGS+=-Wno-pointer-sign -Wno-sign-compare -D_FORTIFY_SOURCE=0 | |
| 16 | +CFLAGS+=-Wno-pointer-sign -Wno-sign-compare -Wno-unused-result | |
| 17 | 17 | endif |
| 18 | 18 | endif |
| 19 | 19 | |