diff options
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/bash.scm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gnu/packages/bash.scm b/gnu/packages/bash.scm index bcd78d7d2a9..27d46fbaab3 100644 --- a/gnu/packages/bash.scm +++ b/gnu/packages/bash.scm | |||
| @@ -303,11 +303,13 @@ without modification.") | |||
| 303 | ;; modules and related code. | 303 | ;; modules and related code. |
| 304 | "ac_cv_func_dlopen=no" | 304 | "ac_cv_func_dlopen=no" |
| 305 | 305 | ||
| 306 | ,@(if (or (target-hurd64?) (%current-target-system)) | 306 | ,@(if (or (target-hurd64?) |
| 307 | (%current-target-system) | ||
| 308 | (and (target-x86?) (target-linux?))) | ||
| 307 | ;; gcc-14 implictly uses -Wimplicit-function-declaration | 309 | ;; gcc-14 implictly uses -Wimplicit-function-declaration |
| 308 | ;; which together with -Werror causes: | 310 | ;; which together with -Werror causes: |
| 309 | ;; ./enable.def:492:11: error: implicit declaration of function ‘dlclose’; | 311 | ;; ./enable.def:492:11: error: implicit declaration of function ‘dlclose’; |
| 310 | '("CFLAGS=-g -O2 -Wno-implicit-function-declaration") | 312 | '("CFLAGS=-g -O2 -Wno-error=implicit-function-declaration") |
| 311 | '()) | 313 | '()) |
| 312 | 314 | ||
| 313 | ,@(if (%current-target-system) | 315 | ,@(if (%current-target-system) |
