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 98308e5d37..4f70ac01db 100644 --- a/meta/recipes-devtools/cdrtools/cdrtools-native_3.01.bb +++ b/meta/recipes-devtools/cdrtools/cdrtools-native_3.01.bb | |||
| @@ -19,13 +19,17 @@ SRC_URI = " \ | |||
| 19 | SRC_URI[md5sum] = "7d45c5b7e1f78d85d1583b361aee6e8b" | 19 | SRC_URI[md5sum] = "7d45c5b7e1f78d85d1583b361aee6e8b" |
| 20 | SRC_URI[sha256sum] = "ed282eb6276c4154ce6a0b5dee0bdb81940d0cbbfc7d03f769c4735ef5f5860f" | 20 | SRC_URI[sha256sum] = "ed282eb6276c4154ce6a0b5dee0bdb81940d0cbbfc7d03f769c4735ef5f5860f" |
| 21 | 21 | ||
| 22 | EXTRA_OEMAKE = "-e MAKEFLAGS=" | 22 | EXTRA_OEMAKE = "-e MAKEFLAGS= CPPOPTX='${CPPFLAGS}' COPTX='${CFLAGS}' C++OPTX='${CXXFLAGS}' LDOPTX='${LDFLAGS}' GMAKE_NOWARN='true'" |
| 23 | 23 | ||
| 24 | # Stop failures when 'cc' can't be found | 24 | # Stop failures when 'cc' can't be found |
| 25 | export ac_cv_prog_CC = "${CC}" | 25 | export ac_cv_prog_CC = "${CC}" |
| 26 | 26 | ||
| 27 | inherit native | 27 | inherit native |
| 28 | 28 | ||
| 29 | # Use -std=gnu89 to build with gcc-14 (https://bugs.gentoo.org/903876) | ||
| 30 | # this needs to be after native inherit (which sets CFLAGS to BUILD_CFLAGS) | ||
| 31 | CFLAGS += "-std=gnu89" | ||
| 32 | |||
| 29 | do_configure() { | 33 | do_configure() { |
| 30 | install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S}/autoconf | 34 | install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S}/autoconf |
| 31 | install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S}/autoconf | 35 | install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S}/autoconf |
