Add cross targets

This commit is contained in:
Your Name 2020-04-29 12:25:58 +02:00
parent cf65d9f646
commit c6b15b3b9e
2 changed files with 21 additions and 3 deletions

22
bashrc
View File

@ -2,9 +2,27 @@ CHOST="x86_64-pc-linux-gnu"
x86_64_pc_linux_gnu_CFLAGS="-march=native -pipe -O2"
x86_64_pc_linux_gnu_CXXFLAGS="-march=native -pipe -O2"
x86_64_pc_linux_gnu_LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
i686_pc_linux_gnu_CFLAGS="-march=native -pipe -O2"
i686_pc_linux_gnu_CXXFLAGS="-march=native -pipe -O2"
i686_pc_linux_gnu_CFLAGS="-march=i686 -pipe -O2"
i686_pc_linux_gnu_CXXFLAGS="-march=i686 -pipe -O2"
i686_pc_linux_gnu_LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
armv7_unknown_linux_gnueabi_CFLAGS="-march=armv7-a -pipe -O2"
armv7_unknown_linux_gnueabi_CXXFLAGS="-march=armv7-a -pipe -O2"
armv7_unknown_linux_gnueabi_LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
armv7_unknown_linux_gnueabihf_CFLAGS="-march=armv7-a -mfpu=neon -pipe -O2"
armv7_unknown_linux_gnueabihf_CXXFLAGS="-march=armv7-a -mfpu=neon -pipe -O2"
armv7_unknown_linux_gnueabihf_LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
aarch64_unknown_linux_gnueabi_CFLAGS="-march=armv8-a -pipe -O2"
aarch64_unknown_linux_gnueabi_CXXFLAGS="-march=armv8-a -pipe -O2"
aarch64_unknown_linux_gnueabi_LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
aarch64_unknown_linux_musleabi_CFLAGS="-march=armv8-a -pipe -O2"
aarch64_unknown_linux_musleabi_CXXFLAGS="-march=armv8-a -pipe -O2"
aarch64_unknown_linux_musleabi_LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
ia64_unknown_linux_gnu_CFLAGS="-march=native -pipe -O2"
ia64_unknown_linux_gnu_CXXFLAGS="-march=native -pipe -O2"
ia64_unknown_linux_gnu_LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
powerpc64_unknown_linux_gnu_CFLAGS="-march=native -pipe -O2"
powerpc64_unknown_linux_gnu_CXXFLAGS="-march=native -pipe -O2"
powerpc64_unknown_linux_gnu_LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
#GIT_WRAPPER="sudo -u hasufell -g paludisbuild"

View File

@ -34,7 +34,7 @@
*/* build_options: symbols=split jobs=8 -optional_tests -recommended_tests -expensive_tests
# targets
*/* targets: x86_64-pc-linux-gnu
*/* targets: x86_64-pc-linux-gnu armv7-unknown-linux-gnueabihf aarch64-unknown-linux-gnueabi i686-pc-linux-gnu
# SSL
*/* providers: -openssl libressl