diff options
| author | hjl <hjl> | 2001-06-27 16:27:51 +0000 |
|---|---|---|
| committer | hjl <hjl> | 2001-06-27 16:27:51 +0000 |
| commit | bbdfb3e9b3beace2b32947861144b01a9e6104f6 (patch) | |
| tree | d4242425d91fb91ea0adb7882c3f5b28bdbc4039 /config.mk.in | |
| parent | 509cf23ffbe6075e6065d3b59db02bdec1c51f59 (diff) | |
| download | nfs-utils-bbdfb3e9b3beace2b32947861144b01a9e6104f6.tar.gz nfs-utils-bbdfb3e9b3beace2b32947861144b01a9e6104f6.tar.xz nfs-utils-bbdfb3e9b3beace2b32947861144b01a9e6104f6.zip | |
2001-06-27 H.J. Lu <hjl@lucon.org>
* config.mk.in (CC_FOR_BUILD): Renamed from BUILD_CC.
(CFLAGS_FOR_BUILD): New. Don't use @CFLAGS@.
* configure.in (enable_nfsv3): Set to yes by default.
(--enable-rquotad): Added
(AC_PROG_CXX): Removed.
(AC_OUTPUT): Add utils/Makefile.
(CC_FOR_BUILD): Renamed from BUILD_CC.
* configure: Regenerated.
* utils/Makefile: Removed.
* utils/Makefile.in: New.
* nfs-utils.spec.in (rquotad): New. Set to 0 to disable
rquotad.
(CC_FOR_BUILD): Renamed from BUILD_CC.
Diffstat (limited to 'config.mk.in')
| -rw-r--r-- | config.mk.in | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/config.mk.in b/config.mk.in index 508c8a2..18d4f39 100644 --- a/config.mk.in +++ b/config.mk.in @@ -43,12 +43,6 @@ ifndef ARCHFLAGS .EXPORT: ARCHFLAGS endif -BUILD_CC = @BUILD_CC@ -ifdef BUILD -CC = $(BUILD_CC) -else -CC = @CC@ -endif AR = @AR@ LD = @LD@ RM = rm -f @@ -67,7 +61,17 @@ ifdef KERNEL_INCDIR AFLAGS += -I$(KERNEL_INCDIR) endif -CFLAGS = @CFLAGS@ $(AFLAGS) $(CCOPTS) -DVERSION="\"$(VERSION)\"" +ALL-CFLAGS = $(AFLAGS) $(CCOPTS) -DVERSION="\"$(VERSION)\"" +CC = @CC@ +CFLAGS = @CFLAGS@ $(ALL-CFLAGS) +CC_FOR_BUILD = @CC_FOR_BUILD@ +CFLAGS_FOR_BUILD= -O2 $(ALL-CFLAGS) + +ifdef BUILD +CC = $(CC_FOR_BUILD) +CFLAGS = $(CFLAGS_FOR_BUILD) +endif + LDFLAGS = @LDFLAGS@ $(LDOPTS) -L$(TOP)support/lib ifdef NFSV3 |
