relipmoc / skewer

MIT License
95 stars 17 forks source link

fixed a bug in Makefile making object compilation with linking #33

Open vejnar opened 8 years ago

vejnar commented 8 years ago

In the Makefile the CXXFLAGS is modified with the ?=operator to add the -c flag to g++.

This operator is adding only if CXXFLAGS is not yet defined, which the case when producing a package (Archlinux), causing the -c flag to be skipped.

As -c flag is mandatory for proper compilation, this patch add it directly on the g++ command line.

See Skewer Archlinux package

Please consider applying this patch. Comments are welcome. Thanks