Please do not reply directly to this email. All additional comments should be made in the comments box of this bug. https://bugzilla.redhat.com/show_bug.cgi?id=734531 --- Comment #12 from Richard Shaw <hobbes1069@xxxxxxxxx> 2011-09-27 13:46:21 EDT --- (In reply to comment #4) > little update > SPEC: http://dl.dropbox.com/u/4023668/unison240.spec > SRPM: http://dl.dropbox.com/u/4023668/unison240-2.40.63-2.fc15.src.rpm > > why I have to post both the SPEC and SRPM? This makes it easier to check out the spec file without having to download the whole SRPM. > really have no idea how to pass the rpm optflags. make CFLAGS="$RPM_OPT_FLAGS" > doesnt't work: > "/usr/bin/ocamlopt: unknown option `-O2'." ... Crazy idea here... Maybe you set CFLAGS to $RPM_OPT_FLAGS but use sed to remove the minimum number of options that makes ocamlopt happy... The question I have is: Is this package required to use the standard compiler flags? The guidelines[1] say: "For C, C++, and Fortran code, the %{optflags} macro contains these flags." I'm not familier with ocmal... Is it considered a standard C,C++, etc. compiler? Richard [1] http://fedoraproject.org/wiki/Packaging:Guidelines#Compiler_flags -- Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ package-review mailing list package-review@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/package-review