diff options
Diffstat (limited to 'meta/recipes-devtools/cdrtools/cdrtools-native_3.01.bb')
| -rw-r--r-- | meta/recipes-devtools/cdrtools/cdrtools-native_3.01.bb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/recipes-devtools/cdrtools/cdrtools-native_3.01.bb b/meta/recipes-devtools/cdrtools/cdrtools-native_3.01.bb index 757132eae6..e19939cce2 100644 --- a/meta/recipes-devtools/cdrtools/cdrtools-native_3.01.bb +++ b/meta/recipes-devtools/cdrtools/cdrtools-native_3.01.bb | |||
| @@ -16,13 +16,17 @@ SRC_URI = " \ | |||
| 16 | SRC_URI[md5sum] = "7d45c5b7e1f78d85d1583b361aee6e8b" | 16 | SRC_URI[md5sum] = "7d45c5b7e1f78d85d1583b361aee6e8b" |
| 17 | SRC_URI[sha256sum] = "ed282eb6276c4154ce6a0b5dee0bdb81940d0cbbfc7d03f769c4735ef5f5860f" | 17 | SRC_URI[sha256sum] = "ed282eb6276c4154ce6a0b5dee0bdb81940d0cbbfc7d03f769c4735ef5f5860f" |
| 18 | 18 | ||
| 19 | EXTRA_OEMAKE = "-e MAKEFLAGS=" | 19 | EXTRA_OEMAKE = "-e MAKEFLAGS= CPPOPTX='${CPPFLAGS}' COPTX='${CFLAGS}' C++OPTX='${CXXFLAGS}' LDOPTX='${LDFLAGS}' GMAKE_NOWARN='true'" |
| 20 | 20 | ||
| 21 | # Stop failures when 'cc' can't be found | 21 | # Stop failures when 'cc' can't be found |
| 22 | export ac_cv_prog_CC = "${CC}" | 22 | export ac_cv_prog_CC = "${CC}" |
| 23 | 23 | ||
| 24 | inherit native | 24 | inherit native |
| 25 | 25 | ||
| 26 | # Use -std=gnu89 to build with gcc-14 (https://bugs.gentoo.org/903876) | ||
| 27 | # this needs to be after native inherit (which sets CFLAGS to BUILD_CFLAGS) | ||
| 28 | CFLAGS += "-std=gnu89" | ||
| 29 | |||
| 26 | do_install() { | 30 | do_install() { |
| 27 | make install GMAKE_NOWARN=true INS_BASE=${prefix} DESTDIR=${D} | 31 | make install GMAKE_NOWARN=true INS_BASE=${prefix} DESTDIR=${D} |
| 28 | } | 32 | } |
