Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1220190 > unrolled thread

[PATCH v2 3/6] selftests: mqueue: allow extra cflags

Started byBamvor Jian Zhang <bamvor.zhangjian@linaro.org>
First post2015-09-07 16:10 +0200
Last post2015-09-08 07:50 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v2 3/6] selftests: mqueue: allow extra cflags Bamvor Jian Zhang <bamvor.zhangjian@linaro.org> - 2015-09-07 16:10 +0200
    Re: [PATCH v2 3/6] selftests: mqueue: allow extra cflags Michael Ellerman <mpe@ellerman.id.au> - 2015-09-08 07:50 +0200

#1220190 — [PATCH v2 3/6] selftests: mqueue: allow extra cflags

FromBamvor Jian Zhang <bamvor.zhangjian@linaro.org>
Date2015-09-07 16:10 +0200
Subject[PATCH v2 3/6] selftests: mqueue: allow extra cflags
Message-ID<q65ho-7Mu-21@gated-at.bofh.it>
change from = to += in order to pass the proper headers and librareis
(popt.h and libpopt.so) in order to build successful in cross
compiling.

Suggested-by: Michael Ellermani <mpe@ellerman.id.au>
Signed-off-by: Bamvor Jian Zhang <bamvor.zhangjian@linaro.org>
---
 tools/testing/selftests/mqueue/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/testing/selftests/mqueue/Makefile b/tools/testing/selftests/mqueue/Makefile
index 0e3b41e..ca8327f 100644
--- a/tools/testing/selftests/mqueue/Makefile
+++ b/tools/testing/selftests/mqueue/Makefile
@@ -1,4 +1,4 @@
-CFLAGS = -O2
+CFLAGS += -O2
 
 all:
 	$(CC) $(CFLAGS) mq_open_tests.c -o mq_open_tests -lrt
-- 
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1220493

FromMichael Ellerman <mpe@ellerman.id.au>
Date2015-09-08 07:50 +0200
Message-ID<q6jX3-3zi-11@gated-at.bofh.it>
In reply to#1220190
On Mon, 2015-09-07 at 22:04 +0800, Bamvor Jian Zhang wrote:
> change from = to += in order to pass the proper headers and librareis

Please start your changelogs with a Capital letter, they are supposed to be
proper English sentences.

> (popt.h and libpopt.so) in order to build successful in cross
> compiling.

Yeah. More generally it allows the user to pass whatever CFLAGS they wish,
which is a good feature.

Acked-by: Michael Ellerman <mpe@ellerman.id.au>

cheers



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web