Newbie question - Custom compiler flags in Makefile
Arjun
insanegod.god at gmail.com
Tue Jul 2 08:53:51 UTC 2013
Hey,
I am writing a memory driver and i am using the standard freebsd driver
Makefile which includes .bsd.kmod.mk
So, this comes with its own compiler flags. Specifically, i dont want the
-Wmissing-prototypes option. How do i remove it.
In general, how can one change the default compiler flags for compilation. ?
I read bsd.sys.mk file and it seems that for the above option to be
removed, i need to have WARNS <3. But i want all other -W options except
for this.
How do i do this.?
Any help is appreciated.
Thanks
More information about the freebsd-drivers
mailing list