diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-06-13 09:31:52 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-07-01 13:58:08 +0100 |
| commit | 3c1c56ec07d6f507077458faf5818ff4a88dce98 (patch) | |
| tree | e6a795917e7fcbb7f57deb3878583470cf55fc26 /meta | |
| parent | 45aeae0075ead6f6509048857c4de213a7a302a8 (diff) | |
| download | poky-3c1c56ec07d6f507077458faf5818ff4a88dce98.tar.gz | |
native/nativesdk: Stop overriding unprefixed *FLAGS variables
We're currently encouraging an "arms race" with the FLAGS variables since
a recipe might want to set a specific flag for all variants but to do so,
+= won't work due to the assignment in the native/nativesdk class files. This
means recipes are using append.
Since the default variables are constructed out of TARGET_XXX variables and
we redefine these, there is no need to re-define the un-prefixed variables. If
we drop that, the += appends and similar work and recipes don't have to resort
to append.
Change the classes and cleanup a number of recipes to adapt to the change. This
change will result in some flags appearing to some native/nativesdk variants
but that is probably what was originally expected anyway.
(From OE-Core rev: a157b2f9d93428ca21265cc860a3b58b3698b3aa)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
20 files changed, 22 insertions, 32 deletions
diff --git a/meta/classes-recipe/native.bbclass b/meta/classes-recipe/native.bbclass index 84a3ec65da..d9651a7f22 100644 --- a/meta/classes-recipe/native.bbclass +++ b/meta/classes-recipe/native.bbclass | |||
| @@ -40,11 +40,6 @@ HOST_CC_ARCH = "${BUILD_CC_ARCH}" | |||
| 40 | HOST_LD_ARCH = "${BUILD_LD_ARCH}" | 40 | HOST_LD_ARCH = "${BUILD_LD_ARCH}" |
| 41 | HOST_AS_ARCH = "${BUILD_AS_ARCH}" | 41 | HOST_AS_ARCH = "${BUILD_AS_ARCH}" |
| 42 | 42 | ||
| 43 | CPPFLAGS = "${BUILD_CPPFLAGS}" | ||
| 44 | CFLAGS = "${BUILD_CFLAGS}" | ||
| 45 | CXXFLAGS = "${BUILD_CXXFLAGS}" | ||
| 46 | LDFLAGS = "${BUILD_LDFLAGS}" | ||
| 47 | |||
| 48 | STAGING_BINDIR = "${STAGING_BINDIR_NATIVE}" | 43 | STAGING_BINDIR = "${STAGING_BINDIR_NATIVE}" |
| 49 | STAGING_BINDIR_CROSS = "${STAGING_BINDIR_NATIVE}" | 44 | STAGING_BINDIR_CROSS = "${STAGING_BINDIR_NATIVE}" |
| 50 | 45 | ||
diff --git a/meta/classes-recipe/nativesdk.bbclass b/meta/classes-recipe/nativesdk.bbclass index de6debda93..b0634de582 100644 --- a/meta/classes-recipe/nativesdk.bbclass +++ b/meta/classes-recipe/nativesdk.bbclass | |||
| @@ -66,11 +66,6 @@ TARGET_FPU = "" | |||
| 66 | EXTRA_OECONF_GCC_FLOAT = "" | 66 | EXTRA_OECONF_GCC_FLOAT = "" |
| 67 | TUNE_FEATURES = "" | 67 | TUNE_FEATURES = "" |
| 68 | 68 | ||
| 69 | CPPFLAGS = "${BUILDSDK_CPPFLAGS}" | ||
| 70 | CFLAGS = "${BUILDSDK_CFLAGS}" | ||
| 71 | CXXFLAGS = "${BUILDSDK_CXXFLAGS}" | ||
| 72 | LDFLAGS = "${BUILDSDK_LDFLAGS}" | ||
| 73 | |||
| 74 | # Change to place files in SDKPATH | 69 | # Change to place files in SDKPATH |
| 75 | base_prefix = "${SDKPATHNATIVE}" | 70 | base_prefix = "${SDKPATHNATIVE}" |
| 76 | prefix = "${SDKPATHNATIVE}${prefix_nativesdk}" | 71 | prefix = "${SDKPATHNATIVE}${prefix_nativesdk}" |
diff --git a/meta/recipes-connectivity/bind/bind_9.18.27.bb b/meta/recipes-connectivity/bind/bind_9.18.27.bb index 98b8bb5513..0d22bace6f 100644 --- a/meta/recipes-connectivity/bind/bind_9.18.27.bb +++ b/meta/recipes-connectivity/bind/bind_9.18.27.bb | |||
| @@ -44,7 +44,7 @@ EXTRA_OECONF = " --disable-auto-validation \ | |||
| 44 | --sysconfdir=${sysconfdir}/bind \ | 44 | --sysconfdir=${sysconfdir}/bind \ |
| 45 | --with-openssl=${STAGING_DIR_HOST}${prefix} \ | 45 | --with-openssl=${STAGING_DIR_HOST}${prefix} \ |
| 46 | " | 46 | " |
| 47 | LDFLAGS:append = " -lz" | 47 | LDFLAGS += "-lz" |
| 48 | 48 | ||
| 49 | # dhcp needs .la so keep them | 49 | # dhcp needs .la so keep them |
| 50 | REMOVE_LIBTOOL_LA = "0" | 50 | REMOVE_LIBTOOL_LA = "0" |
diff --git a/meta/recipes-connectivity/nfs-utils/nfs-utils_2.6.4.bb b/meta/recipes-connectivity/nfs-utils/nfs-utils_2.6.4.bb index af7a74a5fb..9aa8bc4eab 100644 --- a/meta/recipes-connectivity/nfs-utils/nfs-utils_2.6.4.bb +++ b/meta/recipes-connectivity/nfs-utils/nfs-utils_2.6.4.bb | |||
| @@ -62,7 +62,7 @@ EXTRA_OECONF = "--with-statduser=rpcuser \ | |||
| 62 | --with-rpcgen=${HOSTTOOLS_DIR}/rpcgen \ | 62 | --with-rpcgen=${HOSTTOOLS_DIR}/rpcgen \ |
| 63 | " | 63 | " |
| 64 | 64 | ||
| 65 | LDFLAGS:append = " -lsqlite3 -levent" | 65 | LDFLAGS += "-lsqlite3 -levent" |
| 66 | 66 | ||
| 67 | PACKAGECONFIG ??= "tcp-wrappers \ | 67 | PACKAGECONFIG ??= "tcp-wrappers \ |
| 68 | ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)} \ | 68 | ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)} \ |
diff --git a/meta/recipes-core/systemd/systemd-boot_255.6.bb b/meta/recipes-core/systemd/systemd-boot_255.6.bb index 4ee25ee72f..9a6d8e9d6e 100644 --- a/meta/recipes-core/systemd/systemd-boot_255.6.bb +++ b/meta/recipes-core/systemd/systemd-boot_255.6.bb | |||
| @@ -8,10 +8,10 @@ DEPENDS = "intltool-native libcap util-linux gperf-native python3-jinja2-native | |||
| 8 | inherit meson pkgconfig gettext | 8 | inherit meson pkgconfig gettext |
| 9 | inherit deploy | 9 | inherit deploy |
| 10 | 10 | ||
| 11 | LDFLAGS:prepend = "${@ " ".join(d.getVar('LD').split()[1:])} " | 11 | LDFLAGS =+ "${@ " ".join(d.getVar('LD').split()[1:])} " |
| 12 | 12 | ||
| 13 | EFI_LD = "bfd" | 13 | EFI_LD = "bfd" |
| 14 | LDFLAGS:append = " -fuse-ld=${EFI_LD}" | 14 | LDFLAGS += "-fuse-ld=${EFI_LD}" |
| 15 | 15 | ||
| 16 | do_write_config[vardeps] += "EFI_LD" | 16 | do_write_config[vardeps] += "EFI_LD" |
| 17 | do_write_config:append() { | 17 | do_write_config:append() { |
diff --git a/meta/recipes-devtools/python/python3-bcrypt_4.1.3.bb b/meta/recipes-devtools/python/python3-bcrypt_4.1.3.bb index deb5cbdee3..9bed5ee148 100644 --- a/meta/recipes-devtools/python/python3-bcrypt_4.1.3.bb +++ b/meta/recipes-devtools/python/python3-bcrypt_4.1.3.bb | |||
| @@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=8f7bb094c7232b058c7e9f2e431f389c" | |||
| 4 | HOMEPAGE = "https://pypi.org/project/bcrypt/" | 4 | HOMEPAGE = "https://pypi.org/project/bcrypt/" |
| 5 | 5 | ||
| 6 | DEPENDS += "python3-cffi-native" | 6 | DEPENDS += "python3-cffi-native" |
| 7 | LDFLAGS:append = "${@bb.utils.contains('DISTRO_FEATURES', 'ptest', ' -fuse-ld=bfd', '', d)}" | 7 | LDFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'ptest', '-fuse-ld=bfd', '', d)}" |
| 8 | 8 | ||
| 9 | SRC_URI[sha256sum] = "2ee15dd749f5952fe3f0430d0ff6b74082e159c50332a1413d51b5689cf06623" | 9 | SRC_URI[sha256sum] = "2ee15dd749f5952fe3f0430d0ff6b74082e159c50332a1413d51b5689cf06623" |
| 10 | 10 | ||
diff --git a/meta/recipes-devtools/python/python3-maturin_1.6.0.bb b/meta/recipes-devtools/python/python3-maturin_1.6.0.bb index 1d62671bb9..ea8cf468ff 100644 --- a/meta/recipes-devtools/python/python3-maturin_1.6.0.bb +++ b/meta/recipes-devtools/python/python3-maturin_1.6.0.bb | |||
| @@ -9,7 +9,7 @@ SRC_URI[sha256sum] = "b955025c24c8babc808db49e0ff90db8b4b1320dcc16b14eb261328417 | |||
| 9 | 9 | ||
| 10 | S = "${WORKDIR}/maturin-${PV}" | 10 | S = "${WORKDIR}/maturin-${PV}" |
| 11 | 11 | ||
| 12 | CFLAGS:append = " -fdebug-prefix-map=${CARGO_HOME}=${TARGET_DBGSRC_DIR}/cargo_home" | 12 | CFLAGS += "-fdebug-prefix-map=${CARGO_HOME}=${TARGET_DBGSRC_DIR}/cargo_home" |
| 13 | 13 | ||
| 14 | DEPENDS += "\ | 14 | DEPENDS += "\ |
| 15 | python3-setuptools-rust-native \ | 15 | python3-setuptools-rust-native \ |
diff --git a/meta/recipes-devtools/python/python3_3.12.4.bb b/meta/recipes-devtools/python/python3_3.12.4.bb index eb3866d9be..77bbfaa069 100644 --- a/meta/recipes-devtools/python/python3_3.12.4.bb +++ b/meta/recipes-devtools/python/python3_3.12.4.bb | |||
| @@ -118,7 +118,7 @@ ${@bb.utils.contains('PACKAGECONFIG', 'tk', '', '_tkinter', d)} | |||
| 118 | EOF | 118 | EOF |
| 119 | } | 119 | } |
| 120 | 120 | ||
| 121 | CPPFLAGS:append = " -I${STAGING_INCDIR}/ncursesw -I${STAGING_INCDIR}/uuid" | 121 | CPPFLAGS += "-I${STAGING_INCDIR}/ncursesw -I${STAGING_INCDIR}/uuid" |
| 122 | 122 | ||
| 123 | # COMPILEALL_OPTS= ensures that .pyc are not compiled in parallel | 123 | # COMPILEALL_OPTS= ensures that .pyc are not compiled in parallel |
| 124 | # This was found to lock up builds, break reproducibility, and produce strange file ownership | 124 | # This was found to lock up builds, break reproducibility, and produce strange file ownership |
diff --git a/meta/recipes-devtools/qemu/qemu-native.inc b/meta/recipes-devtools/qemu/qemu-native.inc index 891dc5e2a1..d074d7d181 100644 --- a/meta/recipes-devtools/qemu/qemu-native.inc +++ b/meta/recipes-devtools/qemu/qemu-native.inc | |||
| @@ -4,4 +4,4 @@ inherit_defer native | |||
| 4 | 4 | ||
| 5 | EXTRA_OEMAKE:append = " LD='${LD}' AR='${AR}' OBJCOPY='${OBJCOPY}' LDFLAGS='${LDFLAGS}'" | 5 | EXTRA_OEMAKE:append = " LD='${LD}' AR='${AR}' OBJCOPY='${OBJCOPY}' LDFLAGS='${LDFLAGS}'" |
| 6 | 6 | ||
| 7 | LDFLAGS:append = " -fuse-ld=bfd" | 7 | LDFLAGS += "-fuse-ld=bfd" |
diff --git a/meta/recipes-devtools/rust/libstd-rs_1.75.0.bb b/meta/recipes-devtools/rust/libstd-rs_1.75.0.bb index d2bf266f9d..5fc6fb97bb 100644 --- a/meta/recipes-devtools/rust/libstd-rs_1.75.0.bb +++ b/meta/recipes-devtools/rust/libstd-rs_1.75.0.bb | |||
| @@ -50,4 +50,4 @@ BBCLASSEXTEND = "nativesdk" | |||
| 50 | # Since 1.70.0 upgrade this fails to build with gold: | 50 | # Since 1.70.0 upgrade this fails to build with gold: |
| 51 | # http://errors.yoctoproject.org/Errors/Details/708194/ | 51 | # http://errors.yoctoproject.org/Errors/Details/708194/ |
| 52 | # ld: error: version script assignment of to symbol __rust_alloc_error_handler_should_panic failed: symbol not defined | 52 | # ld: error: version script assignment of to symbol __rust_alloc_error_handler_should_panic failed: symbol not defined |
| 53 | LDFLAGS:append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd', '', d)}" | 53 | LDFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', '-fuse-ld=bfd', '', d)}" |
diff --git a/meta/recipes-devtools/rust/rust_1.75.0.bb b/meta/recipes-devtools/rust/rust_1.75.0.bb index c66c14cc5a..bb10c852b4 100644 --- a/meta/recipes-devtools/rust/rust_1.75.0.bb +++ b/meta/recipes-devtools/rust/rust_1.75.0.bb | |||
| @@ -365,4 +365,4 @@ BBCLASSEXTEND = "native nativesdk" | |||
| 365 | # Since 1.70.0 upgrade this fails to build with gold: | 365 | # Since 1.70.0 upgrade this fails to build with gold: |
| 366 | # http://errors.yoctoproject.org/Errors/Details/708196/ | 366 | # http://errors.yoctoproject.org/Errors/Details/708196/ |
| 367 | # ld: error: version script assignment of to symbol __rust_alloc_error_handler_should_panic failed: symbol not defined | 367 | # ld: error: version script assignment of to symbol __rust_alloc_error_handler_should_panic failed: symbol not defined |
| 368 | LDFLAGS:append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd', '', d)}" | 368 | LDFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', '-fuse-ld=bfd', '', d)}" |
diff --git a/meta/recipes-devtools/syslinux/syslinux_6.04-pre2.bb b/meta/recipes-devtools/syslinux/syslinux_6.04-pre2.bb index c8e7f25d2b..d75aa95c1f 100644 --- a/meta/recipes-devtools/syslinux/syslinux_6.04-pre2.bb +++ b/meta/recipes-devtools/syslinux/syslinux_6.04-pre2.bb | |||
| @@ -48,7 +48,7 @@ TARGET_LDFLAGS = "" | |||
| 48 | SECURITY_LDFLAGS = "" | 48 | SECURITY_LDFLAGS = "" |
| 49 | LDFLAGS_SECTION_REMOVAL = "" | 49 | LDFLAGS_SECTION_REMOVAL = "" |
| 50 | 50 | ||
| 51 | CFLAGS:append = " -DNO_INLINE_FUNCS -Wno-error=implicit-function-declaration" | 51 | CFLAGS += "-DNO_INLINE_FUNCS -Wno-error=implicit-function-declaration" |
| 52 | 52 | ||
| 53 | EXTRA_OEMAKE = " \ | 53 | EXTRA_OEMAKE = " \ |
| 54 | BINDIR=${bindir} SBINDIR=${sbindir} LIBDIR=${libdir} \ | 54 | BINDIR=${bindir} SBINDIR=${sbindir} LIBDIR=${libdir} \ |
diff --git a/meta/recipes-extended/bzip2/bzip2_1.0.8.bb b/meta/recipes-extended/bzip2/bzip2_1.0.8.bb index 7d7ab3856b..adb6ded581 100644 --- a/meta/recipes-extended/bzip2/bzip2_1.0.8.bb +++ b/meta/recipes-extended/bzip2/bzip2_1.0.8.bb | |||
| @@ -36,7 +36,7 @@ UPSTREAM_CHECK_URI = "https://www.sourceware.org/pub/bzip2/" | |||
| 36 | 36 | ||
| 37 | PACKAGES =+ "libbz2" | 37 | PACKAGES =+ "libbz2" |
| 38 | 38 | ||
| 39 | CFLAGS:append = " -fPIC -fpic -Winline -fno-strength-reduce -D_FILE_OFFSET_BITS=64" | 39 | CFLAGS += "-fPIC -fpic -Winline -fno-strength-reduce -D_FILE_OFFSET_BITS=64" |
| 40 | 40 | ||
| 41 | inherit autotools update-alternatives ptest relative_symlinks | 41 | inherit autotools update-alternatives ptest relative_symlinks |
| 42 | 42 | ||
diff --git a/meta/recipes-extended/ltp/ltp_20240524.bb b/meta/recipes-extended/ltp/ltp_20240524.bb index 7105154712..6b46723478 100644 --- a/meta/recipes-extended/ltp/ltp_20240524.bb +++ b/meta/recipes-extended/ltp/ltp_20240524.bb | |||
| @@ -39,8 +39,8 @@ inherit autotools-brokensep pkgconfig | |||
| 39 | # SORT_NONE in linker script which isn't supported by gold: | 39 | # SORT_NONE in linker script which isn't supported by gold: |
| 40 | # https://sourceware.org/bugzilla/show_bug.cgi?id=18097 | 40 | # https://sourceware.org/bugzilla/show_bug.cgi?id=18097 |
| 41 | # https://github.com/linux-test-project/ltp/commit/3fce2064b54843218d085aae326c8f7ecf3a8c41#diff-39268f0855c634ca48c8993fcd2c95b12a65b79e8d9fa5ccd6b0f5a8785c0dd6R36 | 41 | # https://github.com/linux-test-project/ltp/commit/3fce2064b54843218d085aae326c8f7ecf3a8c41#diff-39268f0855c634ca48c8993fcd2c95b12a65b79e8d9fa5ccd6b0f5a8785c0dd6R36 |
| 42 | LDFLAGS:append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd', '', d)}" | 42 | LDFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', '-fuse-ld=bfd', '', d)}" |
| 43 | LDFLAGS:append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-lld', ' -fuse-ld=bfd', '', d)}" | 43 | LDFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-lld', '-fuse-ld=bfd', '', d)}" |
| 44 | 44 | ||
| 45 | # After 0002-kvm-use-LD-instead-of-hardcoding-ld.patch | 45 | # After 0002-kvm-use-LD-instead-of-hardcoding-ld.patch |
| 46 | # https://github.com/linux-test-project/ltp/commit/f94e0ef3b7280f886384703ef9019aaf2f2dfebb | 46 | # https://github.com/linux-test-project/ltp/commit/f94e0ef3b7280f886384703ef9019aaf2f2dfebb |
diff --git a/meta/recipes-extended/pam/libpam_1.6.1.bb b/meta/recipes-extended/pam/libpam_1.6.1.bb index 9f2106ea73..b9ef564f56 100644 --- a/meta/recipes-extended/pam/libpam_1.6.1.bb +++ b/meta/recipes-extended/pam/libpam_1.6.1.bb | |||
| @@ -37,7 +37,7 @@ EXTRA_OECONF = "--includedir=${includedir}/security \ | |||
| 37 | --disable-doc \ | 37 | --disable-doc \ |
| 38 | --disable-prelude" | 38 | --disable-prelude" |
| 39 | 39 | ||
| 40 | CFLAGS:append = " -fPIC " | 40 | CFLAGS += "-fPIC " |
| 41 | 41 | ||
| 42 | S = "${WORKDIR}/Linux-PAM-${PV}" | 42 | S = "${WORKDIR}/Linux-PAM-${PV}" |
| 43 | 43 | ||
diff --git a/meta/recipes-gnome/gtk+/gtk4_4.14.4.bb b/meta/recipes-gnome/gtk+/gtk4_4.14.4.bb index 51c37e1a79..47e6298370 100644 --- a/meta/recipes-gnome/gtk+/gtk4_4.14.4.bb +++ b/meta/recipes-gnome/gtk+/gtk4_4.14.4.bb | |||
| @@ -79,7 +79,7 @@ PACKAGECONFIG[vulkan] = "-Dvulkan=enabled,-Dvulkan=disabled, vulkan-loader vulka | |||
| 79 | 79 | ||
| 80 | # Disable int-conversion warning as error until [1] is fixed | 80 | # Disable int-conversion warning as error until [1] is fixed |
| 81 | # [1] https://gitlab.gnome.org/GNOME/gtk/-/issues/6033 | 81 | # [1] https://gitlab.gnome.org/GNOME/gtk/-/issues/6033 |
| 82 | CFLAGS:append = " -Wno-error=int-conversion" | 82 | CFLAGS += "-Wno-error=int-conversion" |
| 83 | 83 | ||
| 84 | LIBV = "4.0.0" | 84 | LIBV = "4.0.0" |
| 85 | 85 | ||
diff --git a/meta/recipes-kernel/lttng/babeltrace2_2.0.6.bb b/meta/recipes-kernel/lttng/babeltrace2_2.0.6.bb index d6c75d7580..a50ba8fcdf 100644 --- a/meta/recipes-kernel/lttng/babeltrace2_2.0.6.bb +++ b/meta/recipes-kernel/lttng/babeltrace2_2.0.6.bb | |||
| @@ -28,7 +28,7 @@ FILES:${PN}-staticdev += "${libdir}/babeltrace2/plugins/*.a" | |||
| 28 | FILES:${PN} += "${libdir}/babeltrace2/plugins/*.so" | 28 | FILES:${PN} += "${libdir}/babeltrace2/plugins/*.so" |
| 29 | 29 | ||
| 30 | ASNEEDED = "" | 30 | ASNEEDED = "" |
| 31 | LDFLAGS:append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-lld ptest', ' -fuse-ld=bfd ', '', d)}" | 31 | LDFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-lld ptest', '-fuse-ld=bfd ', '', d)}" |
| 32 | 32 | ||
| 33 | # coreutils since we need full mktemp | 33 | # coreutils since we need full mktemp |
| 34 | RDEPENDS:${PN}-ptest += "bash gawk python3 make grep coreutils findutils" | 34 | RDEPENDS:${PN}-ptest += "bash gawk python3 make grep coreutils findutils" |
diff --git a/meta/recipes-kernel/powertop/powertop_2.15.bb b/meta/recipes-kernel/powertop/powertop_2.15.bb index 65c6d0fcd3..ec81d546a8 100644 --- a/meta/recipes-kernel/powertop/powertop_2.15.bb +++ b/meta/recipes-kernel/powertop/powertop_2.15.bb | |||
| @@ -13,7 +13,7 @@ SRCREV = "d51ad395436d4d1dcc3ca46e1519ffeb475bf651" | |||
| 13 | 13 | ||
| 14 | S = "${WORKDIR}/git" | 14 | S = "${WORKDIR}/git" |
| 15 | 15 | ||
| 16 | LDFLAGS:append = " -pthread" | 16 | LDFLAGS += "-pthread" |
| 17 | 17 | ||
| 18 | inherit autotools gettext pkgconfig bash-completion | 18 | inherit autotools gettext pkgconfig bash-completion |
| 19 | 19 | ||
diff --git a/meta/recipes-sato/rxvt-unicode/rxvt-unicode.inc b/meta/recipes-sato/rxvt-unicode/rxvt-unicode.inc index 95cc140e9e..5193eebb0b 100644 --- a/meta/recipes-sato/rxvt-unicode/rxvt-unicode.inc +++ b/meta/recipes-sato/rxvt-unicode/rxvt-unicode.inc | |||
| @@ -19,7 +19,7 @@ PROVIDES = "virtual/x-terminal-emulator" | |||
| 19 | ALTERNATIVE:${PN} = "x-terminal-emulator" | 19 | ALTERNATIVE:${PN} = "x-terminal-emulator" |
| 20 | ALTERNATIVE_TARGET[x-terminal-emulator] = "${bindir}/rxvt" | 20 | ALTERNATIVE_TARGET[x-terminal-emulator] = "${bindir}/rxvt" |
| 21 | 21 | ||
| 22 | CFLAGS:append = " -fpermissive" | 22 | CFLAGS += "-fpermissive" |
| 23 | 23 | ||
| 24 | EXTRA_OECONF = "--enable-xim \ | 24 | EXTRA_OECONF = "--enable-xim \ |
| 25 | --with-term=rxvt --enable-keepscrolling \ | 25 | --with-term=rxvt --enable-keepscrolling \ |
diff --git a/meta/recipes-support/sqlite/sqlite3.inc b/meta/recipes-support/sqlite/sqlite3.inc index 9a0de08553..d093ec5859 100644 --- a/meta/recipes-support/sqlite/sqlite3.inc +++ b/meta/recipes-support/sqlite/sqlite3.inc | |||
| @@ -45,14 +45,14 @@ EXTRA_OECONF = " \ | |||
| 45 | " | 45 | " |
| 46 | 46 | ||
| 47 | # pread() is in POSIX.1-2001 so any reasonable system must surely support it | 47 | # pread() is in POSIX.1-2001 so any reasonable system must surely support it |
| 48 | CFLAGS:append = " -DUSE_PREAD" | 48 | CFLAGS += "-DUSE_PREAD" |
| 49 | 49 | ||
| 50 | # Provide column meta-data API | 50 | # Provide column meta-data API |
| 51 | CFLAGS:append = " -DSQLITE_ENABLE_COLUMN_METADATA" | 51 | CFLAGS += "-DSQLITE_ENABLE_COLUMN_METADATA" |
| 52 | 52 | ||
| 53 | # Unless SQLITE_BYTEORDER is predefined, the code falls back to build time | 53 | # Unless SQLITE_BYTEORDER is predefined, the code falls back to build time |
| 54 | # huristics, which are not always correct | 54 | # huristics, which are not always correct |
| 55 | CFLAGS:append = " ${@oe.utils.conditional('SITEINFO_ENDIANNESS', 'le', '-DSQLITE_BYTEORDER=1234', '-DSQLITE_BYTEORDER=4321', d)}" | 55 | CFLAGS += "${@oe.utils.conditional('SITEINFO_ENDIANNESS', 'le', '-DSQLITE_BYTEORDER=1234', '-DSQLITE_BYTEORDER=4321', d)}" |
| 56 | 56 | ||
| 57 | PACKAGES = "lib${BPN} lib${BPN}-dev lib${BPN}-doc ${PN}-dbg lib${BPN}-staticdev ${PN}" | 57 | PACKAGES = "lib${BPN} lib${BPN}-dev lib${BPN}-doc ${PN}-dbg lib${BPN}-staticdev ${PN}" |
| 58 | 58 | ||
