Displaying 3 results from an estimated 3 matches for "__global_ldflags".
Did you mean:
__global_cflags
2016 Mar 22
4
rpmbuild annoyance
I'm building a package (rasmol, if you must know) from an srpm. It's an
FC20 pkg, nothing older, but the software itself hasn't changed. So... I
try the build, and it fails, telling me:
gcc: %__global_ldflags: No such file or directory
make: *** [rasmol] Error 1
Now, this isn't a brand-new package, so I'm puzzled by the error. Is there
supposed to be something I need to add to the rpmbuild command line,
or...?
Clues for the poor.
mark
2013 May 27
2
Dovecot 2.2 build rpm on Centos6
...Red Hat 4.4.7-3) (GCC)
configure:4203: $? = 0
configure:4210: gcc -V >&5
gcc: '-V' option must have argument
configure:4214: $? = 1
configure:4237: checking for C compiler default output file name
configure:4259: gcc %{__global_cflags} -fno-strict-aliasing -Wl,-z,now -Wl,-z,relro %{__global_ldflags} conftest.c >&5
gcc: %{__global_cflags}: No such file or directory
gcc: %{__global_ldflags}: No such file or directory
configure:4263: $? = 1
configure:4301: result:
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "Dovecot"
| #define PACKAGE_TARNAME &qu...
2016 Mar 22
0
rpmbuild annoyance
On Tue, 2016-03-22 at 16:20 -0400, m.roth at 5-cent.us wrote:
> I'm building a package (rasmol, if you must know) from an srpm. It's an
> FC20 pkg, nothing older, but the software itself hasn't changed. So... I
> try the build, and it fails, telling me:
> gcc: %__global_ldflags: No such file or directory
> make: *** [rasmol] Error 1
>
> Now, this isn't a brand-new package, so I'm puzzled by the error. Is there
> supposed to be something I need to add to the rpmbuild command line,
> or...?
>
> Clues for the poor.
>
> mark
>...