Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build fails, #7

Closed
borissmidt opened this issue Apr 17, 2016 · 2 comments
Closed

build fails, #7

borissmidt opened this issue Apr 17, 2016 · 2 comments

Comments

@borissmidt
Copy link

borissmidt commented Apr 17, 2016

whenever i try to build i get the follwing error:
ld: unrecognized option '-DNDEBUG' *
*and all other options passed to it i tried.
Im using linux and tried gcc and clang to build it but nothing seems to work .

@wichtounet
Copy link
Owner

Hi,

the variable $LD must point to a valid compiler, not a linker (probably not good idea, sorry).

try:

export CXX=g++
export LD=g++
make

Tell me if there are any more issues after that.

Baptiste

@borissmidt
Copy link
Author

Well that did the trick.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants