Leanify icon indicating copy to clipboard operation
Leanify copied to clipboard

Cflags issue on Apple M1 (ARM)

Open MoNTE48 opened this issue 2 years ago • 2 comments

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

MoNTE48 avatar Jun 12 '22 14:06 MoNTE48

yeah those flags should be removed now

JayXon avatar Jun 24 '22 05:06 JayXon

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

MoNTE48 avatar Aug 08 '22 23:08 MoNTE48

I have the same issue

skhaz avatar Nov 30 '22 19:11 skhaz