Ok found the problem in aix hints.

There is a check for C compiler name. If named gcc, the correct flags
are used (-b suffixed by -Wl,).

/QOpenSys/openpkg/bin/cc -o try  -D_ALL_SOURCE -D_ANSI_C_SOURCE
-D_POSIX_SOURCE -qmaxmem=-1 -qnoansialias -DUSE_NATIVE_DLOPEN
-L/QOpenSys/openpkg/lib -Wl,-brtl -Wl,-bdynamic -Wl,-bmaxdata:0x80000000 try.c


Without changing the spec, I modified my ~/rpmmacros with :

%l_cc                    %{l_tool_locate gcc       gcc}

Question : What about adding a %l_gcc in rpmmacros and make use of it,
if existing in perl.spec ?
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
Developer Communication List                   openpkg-dev@openpkg.org

Reply via email to