From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
To: buildroot@buildroot.org
Cc: Thomas Huth <huth@tuxfamily.org>,
Fabrice Fontaine <fontaine.fabrice@gmail.com>
Subject: [Buildroot] [PATCH 1/1] package/frotz: fix build with gcc 14
Date: Thu, 16 May 2024 18:32:45 +0200 [thread overview]
Message-ID: <20240516163245.641115-1-fontaine.fabrice@gmail.com> (raw)
Drop -std=c99 from CFLAGS to avoid the following build failure with gcc
14:
fastmem.c: In function 'z_restore':
fastmem.c:842:36: error: implicit declaration of function 'strdup'; did you mean 'strcmp'? [-Wimplicit-function-declaration]
842 | f_setup.aux_name = strdup(default_name);
| ^~~~~~
| strcmp
Fixes:
- http://autobuild.buildroot.org/results/df3b3b98265ec3a75578614746b2d1426c90e125
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/frotz/frotz.mk | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/package/frotz/frotz.mk b/package/frotz/frotz.mk
index 5af235137c..807c800be9 100644
--- a/package/frotz/frotz.mk
+++ b/package/frotz/frotz.mk
@@ -20,8 +20,7 @@ endif
define FROTZ_BUILD_CMDS
$(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) PREFIX=/usr CONFIG_DIR=/etc \
- SOUND_TYPE=none CURSES="$(FROTZ_CURSES)" USE_UTF8=$(FROTZ_UTF8) \
- CFLAGS="$(TARGET_CFLAGS) -std=c99"
+ SOUND_TYPE=none CURSES="$(FROTZ_CURSES)" USE_UTF8=$(FROTZ_UTF8)
endef
define FROTZ_INSTALL_TARGET_CMDS
--
2.43.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next reply other threads:[~2024-05-16 16:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-16 16:32 Fabrice Fontaine [this message]
2024-05-16 19:25 ` [Buildroot] [PATCH 1/1] package/frotz: fix build with gcc 14 Thomas Huth
2024-05-16 20:38 ` Fabrice Fontaine
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240516163245.641115-1-fontaine.fabrice@gmail.com \
--to=fontaine.fabrice@gmail.com \
--cc=buildroot@buildroot.org \
--cc=huth@tuxfamily.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).