-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9dcb19e
commit 4d0c838
Showing
1 changed file
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/sh | ||
|
||
: <<"#EOM" | ||
export PATH=/opt/open64/bin:$PATH | ||
sudo cp /usr/lib/x86_64-linux-gnu/crt1.o /usr/lib/crt1.o | ||
sudo cp /usr/lib/x86_64-linux-gnu/crti.o /usr/lib/crti.o | ||
sudo cp /usr/lib/x86_64-linux-gnu/crtn.o /usr/lib/crtn.o | ||
#EOM | ||
|
||
make clean | ||
echo "Self (Open64)" | ||
#ZLIBNG_X86=1 | ||
OPEN64=1 ARCH="-mmmx -msse -msse2 -msse3 -pthread -D__builtin_bswap32=byteswap32 -D__builtin_bswap64=byteswap64" LIBS="-pthread -ldl" SUFF=_open64 make | ||
### now LIBS--nolibopen64rt is invalid. | ||
make clean | ||
|
||
upx --best --lzma cielbox_open64 |