JayXon / Leanify

lightweight lossless file minifier/optimizer
MIT License
831 stars 75 forks source link

Cflags issue on Apple M1 (ARM) #85

Closed MoNTE48 closed 1 year ago

MoNTE48 commented 2 years ago

"clang: error: argument unused during compilation: '-msse2' [-Werror,-Wunused-command-line-argument]" "error: unknown FP unit 'sse'"

CFLAGS      += -Wall -Werror -O3 -msse2 -mfpmath=sse -flto

should be replaced on:

CFLAGS      += -Wall -Werror -O3 -flto

In any case, what are the benefits of the flags above when used with modern gcc/clang?

JayXon commented 2 years ago

yeah those flags should be removed now

MoNTE48 commented 2 years ago

@JayXon, any updates on my issue? Only two (tested) lines.

skhaz commented 1 year ago

I have the same issue