venomlinux / ports

Contain all ports used by scratchpkg
https://venomlinux.org/
77 stars 48 forks source link

Package : grub-efi-2.06 compilation fails #489

Closed OuailleAimeScier closed 3 years ago

OuailleAimeScier commented 3 years ago

When compiling grub-efi-2.06, I got this error with gcc flag : /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/shaintrin.h:40:1: error: SSE register return with SSE disabled

emmett1 commented 3 years ago

Try comment CFLAGS and CXXFLAGS in /etc/scratchpkg.conf and rebuild.

OuailleAimeScier commented 3 years ago

Hi Emmett,

The compilation works fine when commenting the CFLAGS and CXXFLAGS in scratchpkg.conf thanks for your help. I have put "native" in replacement of "x86-64" in CFLAGS and it's the first time I have such problem for compiling with this. The compilation works well if I put "x86-64" in the CFLAGS.