You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openwrt/package
Christian Lamparter a8bae35914 elfutils: fix gcc 8.0+ multistatement macros warning/error
GCC 8.0+ <https://gcc.gnu.org/gcc-8/changes.html> introduces a new
warning about unsafe macros expanding to multiple statements used
as a body of a statement such as if, else, while, switch, or for.

In combination with -Werror this can cause the compilation to fail:

|In file included from xmalloc.c:37:
|xmalloc.c: In function 'xmalloc':
|system.h:39:2: error: macro expands to multiple statements [-Werror=multistatement-macros]
|  fflush(stdout); \
|  ^~~~~~
|xmalloc.c:52:5: note: in expansion of macro 'error'
|     error (EXIT_FAILURE, 0, _("memory exhausted"));
|     ^~~~~
|xmalloc.c:51:3: note: some parts of macro expansion are not guarded by this 'if' clause
|   if (p == NULL)
|   ^~

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
6 years ago
..
base-files base-files: install missing /etc/iproute2/ematch_map 6 years ago
boot layerscape: add LS1021AIOT board support 6 years ago
devel valgrind: enable LTO and refresh patches 6 years ago
firmware ath10k-firmware: update Candela Tech firmware images 6 years ago
kernel mac80211: backport upstream fixes 6 years ago
libs elfutils: fix gcc 8.0+ multistatement macros warning/error 6 years ago
network odhcpd: add PKG_VERSION again 6 years ago
system ubox: bump to git HEAD 6 years ago
utils f2fs-tools: Update to 1.12.0 6 years ago
Makefile imagebuilder: reuse rootfs preparation from rootfs.mk 6 years ago