File: no-force-word-size.diff

package info (click to toggle)
openmsx 20.0%2Bdfsg-1.2
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 27,544 kB
  • sloc: cpp: 236,922; xml: 49,948; tcl: 15,056; python: 5,385; perl: 281; sh: 77; makefile: 53
file content (27 lines) | stat: -rw-r--r-- 742 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Description: Do not force word size using -m argument to gcc
 The x32 architecture breaks when detecting the word size.
 This patch removes the -m argument, so the compiler will
 correctly handle this by itself.
Author: Bas Wijnen <wijnen@debian.org>

Origin: debian
Bug-Debian: https://bugs.debian.org/889863
Forwarded: not-needed
Last-Update: 2025-01-07

--- openmsx-20.0+dfsg.orig/build/cpu.py
+++ openmsx-20.0+dfsg/build/cpu.py
@@ -107,13 +107,11 @@ class X86(CPU):
 	'''32-bit x86: Intel Pentium, AMD Athlon etc.
 	'''
 	name = 'x86'
-	gccFlags = '-m32',
 
 class X86_64(CPU):
 	'''64-bit x86. Also known as AMD64 or x64.
 	'''
 	name = 'x86_64'
-	gccFlags = '-m64',
 
 # Build a dictionary of CPUs using introspection.
 _cpusByName = {