CristianoBeato / gimp-normalmap

Automatically exported from code.google.com/p/gimp-normalmap
Other
1 stars 0 forks source link

Incorrect usage of $(LD) at the makefile #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Both at gimp-normalmap and gimp-dds, we have an incorrect usage of $(LD) 
at the Makefile.

We have $(LD) being used to link all the objects together. However, this 
is incorrect, $(CC) should have been used instead.

If we set LD to "ld" program, which would be the correct, then the 
compilation fails because of $(LDFLAGS) parameters (as these flags are 
meant to be passed to $(CC)).

So, the solution is simple:
* Delete the "LD=gcc" line
* Chante $(LD) to $(CC) at the line that generates the final executable.

Original issue reported on code.google.com by denilsonsa on 25 Apr 2010 at 8:40

GoogleCodeExporter commented 8 years ago
Thanks for the report.  This has been fixed in SVN.

Original comment by ski...@gmail.com on 30 Apr 2010 at 2:32