All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nishanth Menon <menon.nishanth@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [Patch] U-Boot-V2: Sandbox: remove unwanted compiler flags
Date: Thu, 08 May 2008 20:10:53 -0500	[thread overview]
Message-ID: <4823A49D.9070301@gmail.com> (raw)

The following patch removes global compilation flags duplicated in
sandbox makefile.
This also works-around a probable compiler issue noted in my mail here: 
http://sourceforge.net/mailarchive/forum.php?thread_name=48193193.30508%40gmail.com&forum_name=u-boot-users

Signed-off-by: Nishanth Menon <x0nishan@ti.com>

Index: u-boot.v2/arch/sandbox/Makefile
===================================================================
--- u-boot.v2.orig/arch/sandbox/Makefile    2008-05-08
19:48:10.000000000 -0500
+++ u-boot.v2/arch/sandbox/Makefile    2008-05-08 19:49:58.000000000 -0500
@@ -1,5 +1,5 @@
 
-CPPFLAGS += -fno-builtin -ffreestanding -nostdinc -Wall \
+CPPFLAGS += -fno-builtin -ffreestanding\
     -pipe -fno-strict-aliasing
 
 machine-y       := sandbox
@@ -11,7 +11,7 @@
 TEXT_BASE = $(CONFIG_TEXT_BASE)
 
 CPPFLAGS += -P
-CFLAGS := -fno-common -Os -Dmalloc=u_boot_malloc \
+CFLAGS := -Os -Dmalloc=u_boot_malloc \
         -Dfree=u_boot_free -Drealloc=u_boot_realloc \
         -Dread=u_boot_read -Dwrite=u_boot_write \
         -Dopen=u_boot_open -Dclose=u_boot_close \

             reply	other threads:[~2008-05-09  1:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-09  1:10 Nishanth Menon [this message]
2008-05-12  9:47 ` [U-Boot-Users] [Patch] U-Boot-V2: Sandbox: remove unwanted compiler flags Sascha Hauer

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=4823A49D.9070301@gmail.com \
    --to=menon.nishanth@gmail.com \
    --cc=u-boot@lists.denx.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.