make: Build with -O2 instead of -O3

This commit is contained in:
K. Lange 2021-04-24 19:07:14 +09:00
parent 0977eca9b5
commit 3818df0749
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ TARGET_TRIPLET=i686-pc-toaru
CC=$(TARGET_TRIPLET)-gcc
AR=$(TARGET_TRIPLET)-ar
AS=$(TARGET_TRIPLET)-as
CFLAGS= -O3 -s -std=gnu99 -I. -Iapps -pipe -mmmx -msse -msse2 -fplan9-extensions -Wall -Wextra -Wno-unused-parameter
CFLAGS= -O2 -s -std=gnu99 -I. -Iapps -pipe -mmmx -msse -msse2 -fplan9-extensions -Wall -Wextra -Wno-unused-parameter
##
# C library objects from libc/ C sources (and setjmp, which is assembly)

View File

@ -6,7 +6,7 @@ import sys
import subprocess
cflags = "-O3 -g -std=gnu99 -I. -Iapps -pipe -mmmx -msse -msse2 -fplan9-extensions -Wall -Wextra -Wno-unused-parameter"
cflags = "-O2 -g -std=gnu99 -I. -Iapps -pipe -mmmx -msse -msse2 -fplan9-extensions -Wall -Wextra -Wno-unused-parameter"
class Classifier(object):