Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1268301
| From | Sean Whitton <spwhitton@spwhitton.name> |
|---|---|
| Newsgroups | linux.debian.bugs.dist |
| Subject | Bug#1119602: userv-utils: please build using the default build flags |
| Date | 2025-10-29 20:30 +0100 |
| Message-ID | <LLk1P-8Xx3-9@gated-at.bofh.it> (permalink) |
| References | <LLk1P-8Xx3-11@gated-at.bofh.it> <LLk1P-8Xx3-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
Hello, The problem is this Makefile snippet: --8<---------------cut here---------------start------------->8--- override_dh_auto_build: $(checkdir) set -e; for s in $(subdirs_build); do \ $(MAKE) -C $$s all; \ done touch build --8<---------------cut here---------------end--------------->8--- which means that CFLAGS isn't passed down to the subinvocation of Make. So perhaps the best fix would be something like this: --8<---------------cut here---------------start------------->8--- diff --git a/debian/rules b/debian/rules index b84847b..19aa02f 100755 --- a/debian/rules +++ b/debian/rules @@ -38,6 +38,8 @@ override_dh_auto_configure: override_dh_auto_build: $(checkdir) + export CFLAGS + export CPPFLAGS + export LDFLAGS set -e; for s in $(subdirs_build); do \ $(MAKE) -C $$s all; \ done --8<---------------cut here---------------end--------------->8--- though maybe there is a more standard way to do it? -- Sean Whitton
Back to linux.debian.bugs.dist | Previous | Next — Next in thread | Find similar | Unroll thread
Bug#1119602: userv-utils: please build using the default build flags Sean Whitton <spwhitton@spwhitton.name> - 2025-10-29 20:30 +0100
Bug#1119602: userv-utils: please build using the default build flags Sean Whitton <spwhitton@spwhitton.name> - 2025-10-29 20:40 +0100
Bug#1119602: userv-utils: please build using the default build flags Emanuele Rocca <ema@debian.org> - 2025-10-30 14:30 +0100
csiph-web