diff options
Diffstat (limited to 'zarb-ml/mageia-dev/2011-October/009212.html')
-rw-r--r-- | zarb-ml/mageia-dev/2011-October/009212.html | 107 |
1 files changed, 107 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2011-October/009212.html b/zarb-ml/mageia-dev/2011-October/009212.html new file mode 100644 index 000000000..b871114af --- /dev/null +++ b/zarb-ml/mageia-dev/2011-October/009212.html @@ -0,0 +1,107 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-dev] Strange warning when building ascii + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Strange%20warning%20when%20building%20ascii&In-Reply-To=%3C4EAD1F1F.7060903%40gmx.com%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="009210.html"> + <LINK REL="Next" HREF="009211.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-dev] Strange warning when building ascii</H1> + <B>Kamil Rytarowski</B> + <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Strange%20warning%20when%20building%20ascii&In-Reply-To=%3C4EAD1F1F.7060903%40gmx.com%3E" + TITLE="[Mageia-dev] Strange warning when building ascii">n54 at gmx.com + </A><BR> + <I>Sun Oct 30 10:55:43 CET 2011</I> + <P><UL> + <LI>Previous message: <A HREF="009210.html">[Mageia-dev] Strange warning when building ascii +</A></li> + <LI>Next message: <A HREF="009211.html">[Mageia-dev] Mageia-dev] mageia 2 and systemd +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#9212">[ date ]</a> + <a href="thread.html#9212">[ thread ]</a> + <a href="subject.html#9212">[ subject ]</a> + <a href="author.html#9212">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>On 30.10.2011 08:54, Anssi Hannula wrote: +><i> On 30.10.2011 00:07, Oliver Burger wrote: +</I>>><i> Hi, +</I>>><i> +</I>>><i> I (or better one of my padawans) have one problem: +</I>>><i> When trying to build ascii the build is running fine but in the buildlogs, +</I>>><i> there is a strange warning about not finding any "build ID note". +</I>><i> This happens when our %ldflags are not used for linking. +</I>><i> +</I>><i> You probably need to use LDFLAGS="%ldflags" somewhere or some other flag +</I>><i> or variable, to get the %ldflags to appear after 'cc' in this line in +</I>><i> the build: +</I>><i> cc -DREVISION=3.11 ascii.c -o ascii +</I>><i> +</I>><i> - Spoilers below - +</I>><i> +</I>><i> OK, looked at the package. +</I>><i> First, your %build is wrong. You use CFLAGS="$RPM_OPT_FLAGS" in the +</I>><i> %make command, but the Makefile doesn't even use any CFLAGS variable! +</I>><i> +</I>><i> Similarly, it doesn't use LDFLAGS so setting that would do no good either. +</I>><i> +</I>><i> You need to either e.g. +</I>><i> a) change the CFLAGS="$RPM_OPT_FLAGS" to CC="gcc %optflags %ldflags", or +</I>><i> b) patch the Makefile to use $(CFLAGS) $(LDFLAGS) after the $(CC) +</I>><i> instance and use %setup_compile_flags before %make. +</I>Thank you! You are amazing! + + +</PRE> + + + + + + + + + + + + + + + + + + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="009210.html">[Mageia-dev] Strange warning when building ascii +</A></li> + <LI>Next message: <A HREF="009211.html">[Mageia-dev] Mageia-dev] mageia 2 and systemd +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#9212">[ date ]</a> + <a href="thread.html#9212">[ thread ]</a> + <a href="subject.html#9212">[ subject ]</a> + <a href="author.html#9212">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev +mailing list</a><br> +</body></html> |