Cflags issue on Apple M1 (ARM)

#85 · closed · 3 comments

View on GitHub ↗

MoNTE48

"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?

Comments

JayXon

yeah those flags should be removed now

MoNTE48

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

skhaz

I have the same issue