File: fix-hurd-build

package info (click to toggle)
nast 0.2.0-10
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,788 kB
  • sloc: ansic: 7,516; sh: 2,768; makefile: 64
file content (28 lines) | stat: -rw-r--r-- 445 bytes parent folder | download | duplicates (4)
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
28
Author: Barry deFreese <bdefreese@debian.org>
Description: Fix FTBFS on Debian GNU/Hurd
http://bugs.debian.org/674966

--- a/configure
+++ b/configure
@@ -2910,6 +2910,9 @@ fi
 *bsd*)
 	CFLAGS="-Wall -O2 -pthread"
 	;;
+*gnu*)
+	CFLAGS="-Wall -O2 -pthread"
+	;;
 esac
 
 
--- a/configure.ac
+++ b/configure.ac
@@ -154,6 +154,9 @@ case "$target" in
 *bsd*)
 	CFLAGS="-Wall -O2 -pthread"
 	;;
+*gnu*)
+	CFLAGS="-Wall -O2 -pthread"
+	;;
 esac