* [Buildroot] [PATCH/next 1/1] package/git-crypt: fix build with gcc-4.9
@ 2018-08-20 19:40 Bernd Kuhls
2018-08-20 20:25 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Bernd Kuhls @ 2018-08-20 19:40 UTC (permalink / raw)
To: buildroot
Fixes
In file included from commands.cpp:32:0:
crypto.hpp:60:7: error: 'unique_ptr' in namespace 'std' does not name a template type
std::unique_ptr<Aes_impl> impl;
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/git-crypt/git-crypt.mk | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/package/git-crypt/git-crypt.mk b/package/git-crypt/git-crypt.mk
index 507534c139..37e3d885a9 100644
--- a/package/git-crypt/git-crypt.mk
+++ b/package/git-crypt/git-crypt.mk
@@ -14,7 +14,8 @@ GIT_CRYPT_LIBS = `$(PKG_CONFIG_HOST_BINARY) --libs openssl`
define GIT_CRYPT_BUILD_CMDS
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \
- LDFLAGS="$(TARGET_LDFLAGS) $(GIT_CRYPT_LIBS)" PREFIX=/usr
+ LDFLAGS="$(TARGET_LDFLAGS) $(GIT_CRYPT_LIBS)" \
+ CXXFLAGS="$(TARGET_CXXFLAGS) -std=c++11" PREFIX=/usr
endef
define GIT_CRYPT_INSTALL_TARGET_CMDS
--
2.18.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH/next 1/1] package/git-crypt: fix build with gcc-4.9
2018-08-20 19:40 [Buildroot] [PATCH/next 1/1] package/git-crypt: fix build with gcc-4.9 Bernd Kuhls
@ 2018-08-20 20:25 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2018-08-20 20:25 UTC (permalink / raw)
To: buildroot
Hello,
On Mon, 20 Aug 2018 21:40:56 +0200, Bernd Kuhls wrote:
> Fixes
>
> In file included from commands.cpp:32:0:
> crypto.hpp:60:7: error: 'unique_ptr' in namespace 'std' does not name a template type
> std::unique_ptr<Aes_impl> impl;
>
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
> package/git-crypt/git-crypt.mk | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
Applied to next, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-08-20 20:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-20 19:40 [Buildroot] [PATCH/next 1/1] package/git-crypt: fix build with gcc-4.9 Bernd Kuhls
2018-08-20 20:25 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox