File: makefile-arch.patch

package info (click to toggle)
spline 1.2-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, squeeze, wheezy
  • size: 136 kB
  • ctags: 57
  • sloc: ansic: 355; makefile: 132; sh: 32
file content (20 lines) | stat: -rw-r--r-- 761 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: remove unneeded amd64-specific compiler directives
  The compiler directive "-mfpmath=sse" is amd64-specific. On i386 is just
  generates a harmless gcc warning but it causes a FTBFS on ppc (and presumably
  other architectures). The test suite checks for #578004 anyway (which this
  directive was added to work around) and the "-mfpmath=sse" is the default
  on amd64.
Author: Stuart Prescott <stuart+debian@nanonanonano.net>

--- a/Makefile
+++ b/Makefile
@@ -14,7 +14,8 @@
  -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -Wpointer-arith\
  -Wformat\
  -Wfloat-equal\
- -mfpmath=sse
+
+# -mfpmath=sse
 # -mfpmath=387
 #DEFS	= -D_GNU_SOURCE -DHAVE_GETLINE -DOLD_OUTPUT -DVERSION=\"1.2\"
 DEFS	= -D_GNU_SOURCE -DHAVE_GETLINE -DVERSION=\"1.2\"