Home :: Documentation :: Download :: Development :: Community :: Wiki :: Ports :: Bugs :: Links :: About
Welcome to CRUX bug tracking.
Tasklist

FS#703 - openssl on x86_64 ignores CFLAGS

Attached to Project: CRUX
Opened by Mikhail Gonchar (reji) - Monday, 28 March 2011, 19:34 GMT+2
Last edited by Juergen Daubert (jue) - Sunday, 11 September 2011, 09:57 GMT+2
Task Type Bug Report
Category ports → core/opt
Status Closed
Assigned To Juergen Daubert (jue)
Fredrik Rinnestam (rehabdoll)
Operating System Linux
Severity Low
Priority Normal
Reported Version 2.7
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Hello.
A 64-bit system. When building openssl, CFLAGS from the pkgmk.conf file has no effect.

The sed line in the Pkgfile does not match because there is no "-fomit-frame-pointer" option in the x64-generated Makefile:
sed -i "s|-O3 -fomit-frame-pointer|$CFLAGS|" Makefile

$ grep "^CFLAG=" Makefile
CFLAG= -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m64 -DL_ENDIAN -DTERMIO -O3 -Wall -DMD32_REG_T=int -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DWHIRLPOOL_ASM

I assigned this task to Juergen and Fredrik as I don't sure where it can/should be fixed: core or core-x86_64.
This task depends upon

Closed by  Juergen Daubert (jue)
Sunday, 11 September 2011, 09:57 GMT+2
Reason for closing:  Fixed
Comment by Fredrik Rinnestam (rehabdoll) - Monday, 28 March 2011, 20:19 GMT+2
I'll push a fixed port to core-x86_64. I will leave it up to jue to close the task if there's a workaround for the core port.

Loading...