Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!paladin.american.edu!gatech!news.mathworks.com!fu-berlin.de!news.belwue.de!news.uni-stuttgart.de!schweikh From: schweikh@itosun.ito.uni-stuttgart.de (Jens Schweikhardt) Newsgroups: comp.unix.bsd.freebsd.misc Subject: How to compile a port with CFLAGS Date: 15 Jan 1996 14:45:12 GMT Organization: Comp.Center (RUS), U of Stuttgart, FRG Lines: 23 Message-ID: <4ddp9o$3ev8@info4.rus.uni-stuttgart.de> NNTP-Posting-Host: itosun.ito.uni-stuttgart.de Hello *, recently I tried to compile the tcl,tk and expect ports with some other CFLAGS than the default of -O. I tried by exporting environment variables, like % CFLAGS="-m486 -O2 -fno-strength-reduce" % export CFLAGS % make as well as % make CFLAGS="-m486 -O2 -fno-strength-reduce" but the CFLAGS did not make it through. It still used -O. When I compile a GNU program, the latter approach does it. Why is a "port" make apparently not passing CFLAGS? Or am I missing something obvious? Bye, Jens -- SIGSIG -- signature too long (core dumped)