sdl-hercules-*: defang building for 32/64 bits specifically.

This commit is contained in:
Olaf Seibert 2020-12-05 18:13:36 +01:00
parent 37239bd74a
commit 3392b935a2
8 changed files with 136 additions and 0 deletions

View File

@ -4,3 +4,4 @@ SHA1 (sdl-hercules-crypto-1.0.0-53dda212770e5981974e11437535a586a22d4aae.tar.gz)
RMD160 (sdl-hercules-crypto-1.0.0-53dda212770e5981974e11437535a586a22d4aae.tar.gz) = 802f8e56d36fa99e6b6b897ee60cb9674ae8d979
SHA512 (sdl-hercules-crypto-1.0.0-53dda212770e5981974e11437535a586a22d4aae.tar.gz) = 708f54adf7a0d6c5552c50d4d53506b06c688d74f2e4c38fb987bcc6475055e138fadffe9c285cfbe01887bd9b3cc77b5def02abfd5621a2c74d6d87c30d2c36
Size (sdl-hercules-crypto-1.0.0-53dda212770e5981974e11437535a586a22d4aae.tar.gz) = 80752 bytes
SHA1 (patch-cflags.txt) = 8e5833c2d43e7973dcf9d6c442976efefac30b26

View File

@ -0,0 +1,33 @@
$NetBSD$
We just want do do a native-wordsize build.
Do not depend on the object directory name to set the wordsize.
--- cflags.txt.orig 2020-11-13 09:38:36.000000000 +0000
+++ cflags.txt
@@ -38,25 +38,8 @@ set( CMAKE_C_FLAGS_RELWITHDEBINFO "${CMA
if( NOT WIN32 )
- set( TEMP_CMAKE_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS}" )
- set( CMAKE_REQUIRED_FLAGS "-m32" )
- Check_C_Compiler_Flag( -m32 OK )
-
- if( OK )
- set( m32 "-m32" )
- else()
set( m32 "" )
- endif()
-
- set( CMAKE_REQUIRED_FLAGS "-m64" )
- Check_C_Compiler_Flag( -m64 OK )
- set( CMAKE_REQUIRED_FLAGS "${TEMP_CMAKE_REQUIRED_FLAGS}" )
-
- if( OK )
- set( m64 "-m64" )
- else()
set( m64 "" )
- endif()
endif()

View File

@ -4,3 +4,4 @@ SHA1 (sdl-hercules-decnumber-3.68.0-e41bb5245dbfdde1dd3d55b2c755230325b2e4be.tar
RMD160 (sdl-hercules-decnumber-3.68.0-e41bb5245dbfdde1dd3d55b2c755230325b2e4be.tar.gz) = d4c17f1443ce581dc9e54a668a192df04639e889
SHA512 (sdl-hercules-decnumber-3.68.0-e41bb5245dbfdde1dd3d55b2c755230325b2e4be.tar.gz) = 93c22f278a48f4b121e64947a38da1af82a4c0a580faad13539a253ace1f7f571c143679e9d7b5bd9379a38439a121d61c1616283df160ca449eb4e7baf387f6
Size (sdl-hercules-decnumber-3.68.0-e41bb5245dbfdde1dd3d55b2c755230325b2e4be.tar.gz) = 785533 bytes
SHA1 (patch-cflags.txt) = 8e5833c2d43e7973dcf9d6c442976efefac30b26

View File

@ -0,0 +1,33 @@
$NetBSD$
We just want do do a native-wordsize build.
Do not depend on the object directory name to set the wordsize.
--- cflags.txt.orig 2020-11-13 09:38:36.000000000 +0000
+++ cflags.txt
@@ -38,25 +38,8 @@ set( CMAKE_C_FLAGS_RELWITHDEBINFO "${CMA
if( NOT WIN32 )
- set( TEMP_CMAKE_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS}" )
- set( CMAKE_REQUIRED_FLAGS "-m32" )
- Check_C_Compiler_Flag( -m32 OK )
-
- if( OK )
- set( m32 "-m32" )
- else()
set( m32 "" )
- endif()
-
- set( CMAKE_REQUIRED_FLAGS "-m64" )
- Check_C_Compiler_Flag( -m64 OK )
- set( CMAKE_REQUIRED_FLAGS "${TEMP_CMAKE_REQUIRED_FLAGS}" )
-
- if( OK )
- set( m64 "-m64" )
- else()
set( m64 "" )
- endif()
endif()

View File

@ -4,3 +4,4 @@ SHA1 (sdl-hercules-softfloat-3.5.0-1991ebd466f46590d02aa68729f3283fe430bec0.tar.
RMD160 (sdl-hercules-softfloat-3.5.0-1991ebd466f46590d02aa68729f3283fe430bec0.tar.gz) = 372ab17bf4872f8be75239ccc698959f8f505914
SHA512 (sdl-hercules-softfloat-3.5.0-1991ebd466f46590d02aa68729f3283fe430bec0.tar.gz) = 79db6b140f9d44ee11047bb7580143e8099264e043e7a3e1fede7f634a10046036649d5876d9a2ce0c4e1c76f7f6e5c88b955447cb6f9842243a665783e164cd
Size (sdl-hercules-softfloat-3.5.0-1991ebd466f46590d02aa68729f3283fe430bec0.tar.gz) = 237069 bytes
SHA1 (patch-cflags.txt) = 8e5833c2d43e7973dcf9d6c442976efefac30b26

View File

@ -0,0 +1,33 @@
$NetBSD$
We just want do do a native-wordsize build.
Do not depend on the object directory name to set the wordsize.
--- cflags.txt.orig 2020-11-13 09:38:36.000000000 +0000
+++ cflags.txt
@@ -38,25 +38,8 @@ set( CMAKE_C_FLAGS_RELWITHDEBINFO "${CMA
if( NOT WIN32 )
- set( TEMP_CMAKE_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS}" )
- set( CMAKE_REQUIRED_FLAGS "-m32" )
- Check_C_Compiler_Flag( -m32 OK )
-
- if( OK )
- set( m32 "-m32" )
- else()
set( m32 "" )
- endif()
-
- set( CMAKE_REQUIRED_FLAGS "-m64" )
- Check_C_Compiler_Flag( -m64 OK )
- set( CMAKE_REQUIRED_FLAGS "${TEMP_CMAKE_REQUIRED_FLAGS}" )
-
- if( OK )
- set( m64 "-m64" )
- else()
set( m64 "" )
- endif()
endif()

View File

@ -4,3 +4,4 @@ SHA1 (sdl-hercules-telnet-1.0.0-4b8acebec532057a29bc5662f8ca80d50aeda05c.tar.gz)
RMD160 (sdl-hercules-telnet-1.0.0-4b8acebec532057a29bc5662f8ca80d50aeda05c.tar.gz) = 8684fc95fc22dc1c61efc52d39ffb183ecdd2fb2
SHA512 (sdl-hercules-telnet-1.0.0-4b8acebec532057a29bc5662f8ca80d50aeda05c.tar.gz) = ef28f8f833eabe7491183ae60bc6a1be5b117e9f6e9f86b99543262f04a1c78faee0e0313e3647674cc7e314696775334b86d93950ff2b54bdab7ef3c4a32148
Size (sdl-hercules-telnet-1.0.0-4b8acebec532057a29bc5662f8ca80d50aeda05c.tar.gz) = 67098 bytes
SHA1 (patch-cflags.txt) = ed18a2aaa1da2a7f63c94e5fc061eb9fc0e0f02f

View File

@ -0,0 +1,33 @@
$NetBSD$
We just want do do a native-wordsize build.
Do not depend on the object directory name to set the wordsize.
--- cflags.txt.orig 2020-11-13 09:38:36.000000000 +0000
+++ cflags.txt
@@ -32,25 +32,8 @@ set( CMAKE_C_FLAGS_RELWITHDEBINFO "${CMA
if( NOT WIN32 )
- set( TEMP_CMAKE_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS}" )
- set( CMAKE_REQUIRED_FLAGS "-m32" )
- Check_C_Compiler_Flag( -m32 OK )
-
- if( OK )
- set( m32 "-m32" )
- else()
set( m32 "" )
- endif()
-
- set( CMAKE_REQUIRED_FLAGS "-m64" )
- Check_C_Compiler_Flag( -m64 OK )
- set( CMAKE_REQUIRED_FLAGS "${TEMP_CMAKE_REQUIRED_FLAGS}" )
-
- if( OK )
- set( m64 "-m64" )
- else()
set( m64 "" )
- endif()
endif()