ondrej-zary / carps-cups

CUPS driver for Canon CARPS printers
GNU General Public License v3.0
69 stars 22 forks source link

Adapt Makefile for RPM packaging #20

Open mikhailnov opened 8 months ago

mikhailnov commented 8 months ago

When building an RPM via rpmbuild, we need to:

All these changes will be usefull for any other packaging format, not only RPM.

mikhailnov commented 8 months ago

BSD systems may benefit from automaticaly set correct compiler

ondrej-zary commented 8 months ago

This would disable optimization and stripping for the manual build/install.

mikhailnov commented 8 months ago

Agree, -O2 should be left by default. What about stripping, is it really needed?