ALT Linux Bugzilla
– Attachment 2033 Details for
Bug 12120
[patch] use %optflags for build cronyx
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
Patch for this issue
cronyx-6.0-alt-optflags.patch (text/plain), 940 bytes, created by
Igor Zubkov
on 2007-06-24 02:59:48 MSD
(
hide
)
Description:
Patch for this issue
Filename:
MIME Type:
Creator:
Igor Zubkov
Created:
2007-06-24 02:59:48 MSD
Size:
940 bytes
patch
obsolete
>diff -urN cronyx-6.0.orig/Makefile.in cronyx-6.0/Makefile.in >--- cronyx-6.0.orig/Makefile.in 2007-02-24 16:00:56 +0200 >+++ cronyx-6.0/Makefile.in 2007-06-21 03:24:12 +0300 >@@ -8,7 +8,7 @@ > CC = @CC@ > WITH_ZAPTEL = @WITH_ZAPTEL@ > LDFLAGS = >-CFLAGS = -O3 -Os >+CFLAGS = $(RPM_OPT_FLAGS) > LINUX24 = $(shell if [ @KERNEL_VERSION_CODE@ -lt 2005000 ]; then echo Y; else echo N; fi) > KBUILD_KEY = $(shell if [ @KERNEL_VERSION_CODE@ -gt 2006009 ]; then echo M; else echo SUBDIRS; fi) > LIBMOD = @LIBMOD@ >@@ -131,10 +131,10 @@ > depmod $(KERNEL_NAME) > > sconfig-%.o: sconfig-%.c sconfig.h Makefile >- $(CC) $(CFLAGS) -Wall -c $< -o $@ >+ $(CC) $(CFLAGS) -c $< -o $@ > > sconfig: Makefile sconfig-main.o sconfig-lib.o >- $(CC) $(CFLAGS) $(LDFLAGS) -Wall -o sconfig $(filter-out Makefile,$^) >+ $(CC) $(CFLAGS) $(LDFLAGS) -o sconfig $(filter-out Makefile,$^) > > $(MANPATH_RU)/man8/sconfig.8.gz: Makefile sconfig.ru > mkdir -p $(MANPATH_RU)/man8
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 12120
: 2033