Created
September 11, 2021 14:13
-
-
Save obi1/26541c6451b81fbc327c2212d8e12834 to your computer and use it in GitHub Desktop.
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
--- a/configure 2021-09-11 08:41:58.633075232 +0200 | |
+++ b/configure 2021-09-11 09:36:38.114799528 +0200 | |
@@ -2411,7 +2411,7 @@ | |
const char * _ebcdic() { char* s = (char*) ebcdic_mm; s = (char*) ebcdic_ii; return s; } | |
int main() { _ascii (); _ebcdic (); return 0; } | |
EOF | |
-$CXX $LDFLAGS $CXXFLAGS -o $TMPO$HOSTEXEEXT tmp_endianness_check.cpp | |
+$CXX $LDFLAGS $CXXFLAGS -o $TMPO$HOSTEXEEXT -shared tmp_endianness_check.cpp | |
if $_strings $TMPO$HOSTEXEEXT | grep BIGenDianSyS >/dev/null; then | |
_endian=big | |
elif $_strings $TMPO$HOSTEXEEXT | grep LiTTleEnDian >/dev/null; then |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment