debian/patches/fix-hurd-build
raw| 1 | Author: Barry deFreese <[email protected]> |
| 2 | Description: Fix FTBFS on Debian GNU/Hurd |
| 3 | http://bugs.debian.org/674966 |
| 4 | |
| 5 | --- a/configure |
| 6 | +++ b/configure |
| 7 | @@ -2910,6 +2910,9 @@ fi |
| 8 | *bsd*) |
| 9 | CFLAGS="-Wall -O2 -pthread" |
| 10 | ;; |
| 11 | +*gnu*) |
| 12 | + CFLAGS="-Wall -O2 -pthread" |
| 13 | + ;; |
| 14 | esac |
| 15 | |
| 16 | |
| 17 | --- a/configure.ac |
| 18 | +++ b/configure.ac |
| 19 | @@ -154,6 +154,9 @@ case "$target" in |
| 20 | *bsd*) |
| 21 | CFLAGS="-Wall -O2 -pthread" |
| 22 | ;; |
| 23 | +*gnu*) |
| 24 | + CFLAGS="-Wall -O2 -pthread" |
| 25 | + ;; |
| 26 | esac |
| 27 | |
| 28 |