dhcp: needs -fcommon for gcc10

[ci skip]
This commit is contained in:
Jürgen Buchmüller 2020-08-18 02:48:19 +02:00
parent 6f2c3251fe
commit 7cf99f6d12
1 changed files with 2 additions and 0 deletions

View File

@ -21,6 +21,8 @@ conf_files="/etc/dhcpd.conf"
make_dirs="/var/lib/dhcp 0755 root root"
CFLAGS="-fcommon"
post_patch() {
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
vsed -i "/LIBATOMIC=/s/$/-latomic/" configure.ac