Switch to -std=gnu89 and suppress C90 mixed declaration warnings

This commit is contained in:
wangxp006
2026-04-27 22:16:07 +08:00
parent fb94eff7a0
commit a0954dbb07

View File

@@ -119,7 +119,7 @@ endif
## generic gcc CFLAGS. -DTIME must be included. ## generic gcc CFLAGS. -DTIME must be included.
CFLAGS += -Wall -pedantic $(OPTON) -I $(SRCDIR) -DTIME CFLAGS += -Wall -pedantic $(OPTON) -I $(SRCDIR) -DTIME -std=gnu89 -Wno-declaration-after-statement
############################################################################## ##############################################################################