1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-19 23:28:39 +02:00
openwrt-packages/libs/postgresql/patches
Sebastian Kemper 9ba7d16a1e postgresql: prevent addition of ARM target flag
configure.in checks for "ARMv8 CRC32C intrinsics" and goes as far as
adding "-march=armv8-a+crc" to the target flags if the compiler allows
it. This can clash with the OpenWrt target flags in
CONFIG_TARGET_OPTIMIZATION. If for example the latter is set to
"-mcpu=cortex-a9" the following warning is issued:

  cc1: warning: switch '-mcpu=cortex-a9' conflicts with '-march=armv5t' switch

This commit prevents configure.in from adding the mentioned flag. The
addition is unwanted when cross-compiling.

An issue was raised for this recently, see [1].

[1] https://github.com/openwrt/packages/issues/16034

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-07-07 01:12:53 +01:00
..
050-build-contrib.patch postgresql: fix build and improve packaging 2017-06-19 20:49:40 +02:00
200-ranlib.patch postgresql: update to version 13.0 2020-09-27 22:51:59 +01:00
300-fix-pc-file.patch postgresql: update to version 13.0 2020-09-27 22:51:59 +01:00
700-no-arm-crc-march-change.patch postgresql: prevent addition of ARM target flag 2021-07-07 01:12:53 +01:00
800-busybox-default-pager.patch postgresql: update to version 13.0 2020-09-27 22:51:59 +01:00
900-pg_ctl-setuid.patch postgresql: update to version 13.0 2020-09-27 22:51:59 +01:00