Author Message

<  Everything Coding  ~  Be sure to always LINK against libusb, not pass to CFLAGS

PostPosted: Fri Aug 13, 2010 3:54 am Reply with quote
Posts: 18 Joined: Thu Aug 12, 2010 3:37 am
Well, since the linking is mandatory to make it work, it shouldn't be overridable, and
it's also a linker flag, not a compiler flag, so even if you would want for it to be overridable,
it should've then be passed with LDFLAGS variable ;p

This prevents anyone accidentally overriding it with ie. 'make CFLAGS="-O"'..

http://svn.mandriva.com/cgi-bin/viewvc. ... h?view=log


Offline
PostPosted: Sat Aug 14, 2010 8:59 am Reply with quote
Site Admin Posts: 6441 Joined: Sat Nov 03, 2007 12:30 am
O.K., I'll adapt your changes for the next release. I can see your point.

BTW, I am working on this release right now and hope it will be ready this weekend.


Offline
PostPosted: Sat Aug 14, 2010 2:39 pm Reply with quote
Site Admin Posts: 6441 Joined: Sat Nov 03, 2007 12:30 am
On the second look, would it really be possible to override the CFLAGS given in the Makefile?

I thought they are always appended to any existing CFLAGS with "+=" ...


Offline

Display posts from previous:  Sort by:

All times are UTC+02:00
Page 1 of 1
3 posts
Users browsing this forum: No registered users and 1 guest
Search for:
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum
cron