Unverified Commit 01c2dad7 authored by boklm's avatar boklm
Browse files

openssl: fix build on linux-i686

Add the -m32 flag.
parent c50bdcde
......@@ -10,6 +10,9 @@ cd /var/tmp/build/[% project %]-[% c('version') %]
# patch the Configure script to use clang and add the -isysroot arg
sed -i "s|cc:-arch|clang:-isysroot $sysrootdir -arch|" Configure
[% END -%]
[% IF c("var/osname") == "linux-i686" -%]
export CC='gcc -m32'
[% END %]
./Configure --prefix=$distdir [% c('var/configure_opts') %]
make
make install
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment