Re: Libtool and .s file

Benoit Gschwind <[email protected]>
Newsgroups gmane.comp.gnu.libtool.general
Message-ID <[email protected]>
Hello,

After inspecting the generated Makefile I found out the AM_CCASFLAGS
that work for me :)

Best regards


Le vendredi 02 avril 2021 à 12:54 +0200, Benoit Gschwind a écrit :
> Hello,
> 
> I trying to build a project that include assembler file ".s".
> 
> Libtool seems to work with them and call gcc as follow:
> 
> /bin/sh ../libtool    --mode=compile gcc  -Og -ggdb -march=native -c
> -o
> myfile.lo ../../src/myfile.s
> 
> But it does not inherit the AM_CXXFLAGS nor AM_CFLAGS but I need to
> pass a -I flags. How can I pass flags to gcc in that case?
> 
> Best regards
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.