libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Libtool and .s file


From: Mike Frysinger
Subject: Re: Libtool and .s file
Date: Mon, 5 Apr 2021 02:53:03 -0400

On 02 Apr 2021 12:54, Benoit Gschwind wrote:
> 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?

.s should not be preprocessed.  maybe you want to use .S instead ?
-mike



reply via email to

[Prev in Thread] Current Thread [Next in Thread]