mirror of
https://github.com/reactos/Release_Engineering.git
synced 2024-11-23 11:59:39 +00:00
Fix Illegal Instruction
in Docker image by not using -march=native
(#2)
`RosBE-Builder.sh` defaults to using `-march=native`. Images built on the latest CPUs (as the GitHub Actions CI machines have) will then fail on older build machines.
These flags are already used for the Debian package: aff79fe611/RosBE-Unix/Base-i386_debian/rules
This commit is contained in:
parent
d7f680803b
commit
27108f1a28
@ -27,7 +27,7 @@ RUN wget https://downloads.sourceforge.net/reactos/RosBE-Unix-2.2.1.tar.bz2 \
|
|||||||
&& tar -xjf RosBE-Unix-2.2.1.tar.bz2 \
|
&& tar -xjf RosBE-Unix-2.2.1.tar.bz2 \
|
||||||
&& rm RosBE-Unix-2.2.1.tar.bz2 \
|
&& rm RosBE-Unix-2.2.1.tar.bz2 \
|
||||||
&& cd RosBE-Unix-2.2.1 \
|
&& cd RosBE-Unix-2.2.1 \
|
||||||
&& echo yes | bash RosBE-Builder.sh /usr/local/RosBE \
|
&& echo yes | CFLAGS="-pipe -O2 -Wl,-S -g0 -march=core2" bash RosBE-Builder.sh /usr/local/RosBE \
|
||||||
&& cd .. \
|
&& cd .. \
|
||||||
&& rm -rf RosBE-Unix-2.2.1
|
&& rm -rf RosBE-Unix-2.2.1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user