Re: graphics/poppler-glib not build

From: Steve Kargl <sgk_at_troutmask.apl.washington.edu>
Date: Sat, 28 Sep 2013 13:31:10 -0700
On Sat, Sep 28, 2013 at 10:37:36PM +0300, Alexander Panyushkin wrote:
> *make.conf*
> # ### Build whith  GCC 4.6
> # ========================
> .if  ${.CURDIR:N*/ports/graphics/poppler-glib*} == ""
> CFLAGS= -O2 -march=athlon64-sse3 -mtune=athlon64-sse3 -pipe -Wformat 
> -Wformat-security

Should use +=.

> CPPFLAGS+= -D_FORTIFY_SOURCE=2
> CXXFLAGS+=-rpath /usr/local/lib/gcc46
> USE_GCC=4.6

If you're doing the above,

> CC=cc
> CXX=c++
> CPP=cpp

why are you doing this?

ls /usr/local/bin/*46
/usr/local/bin/c++46*
/usr/local/bin/cpp46*
/usr/local/bin/g++46*
/usr/local/bin/gcc46*
/usr/local/bin/gcov46*

> /usr/bin/ld: cannot find -lstdc++
> c++: error: linker command failed with exit code 1 (use -v to see 
> invocation)

so ld is not being passed the compiler options?

-- 
Steve
Received on Sat Sep 28 2013 - 18:31:15 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:42 UTC