diff options
author | takeshi_hoshina <takeshi_hoshina@mail.toyota.co.jp> | 2020-11-02 11:07:33 +0900 |
---|---|---|
committer | takeshi_hoshina <takeshi_hoshina@mail.toyota.co.jp> | 2020-11-02 11:07:33 +0900 |
commit | 1c7d6584a7811b7785ae5c1e378f14b5ba0971cf (patch) | |
tree | cd70a267a5ef105ba32f200aa088e281fbd85747 /external/meta-openembedded/meta-oe/recipes-support/mcelog/mce-test/makefile-remove-ldflags.patch | |
parent | 4204309872da5cb401cbb2729d9e2d4869a87f42 (diff) |
basesystem-jjsandbox/ToshikazuOhiwa/master-jj
recipes
Diffstat (limited to 'external/meta-openembedded/meta-oe/recipes-support/mcelog/mce-test/makefile-remove-ldflags.patch')
-rw-r--r-- | external/meta-openembedded/meta-oe/recipes-support/mcelog/mce-test/makefile-remove-ldflags.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/external/meta-openembedded/meta-oe/recipes-support/mcelog/mce-test/makefile-remove-ldflags.patch b/external/meta-openembedded/meta-oe/recipes-support/mcelog/mce-test/makefile-remove-ldflags.patch new file mode 100644 index 00000000..0ffedd2c --- /dev/null +++ b/external/meta-openembedded/meta-oe/recipes-support/mcelog/mce-test/makefile-remove-ldflags.patch @@ -0,0 +1,23 @@ +Remove the default CFLAGS and LDFLAGS in Makefile. Ensure the extra linker flags can be passed. + +Upstream-Status: Inappropriate [embedded specific] + +Signed-off-by: Yi Zhao <yi.zhao@windriver.com> + +diff --git a/cases/stress/hwpoison/Makefile b/cases/stress/hwpoison/Makefile +index da1cbd8..dec5b14 100644 +--- a/cases/stress/hwpoison/Makefile ++++ b/cases/stress/hwpoison/Makefile +@@ -1,8 +1,8 @@ +-CFLAGS := -g -Wall +-LDFLAGS := -g ++#CFLAGS := -g -Wall ++#LDFLAGS := -g + +-export CFLAGS +-export LDFLAGS ++#export CFLAGS ++#export LDFLAGS + + all: + mkdir -p bin |