Avoid using non-portable += in generated Makeconf.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@297 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
parent
01be712432
commit
1b25adae3f
4
Makefile
4
Makefile
@ -6,10 +6,6 @@
|
|||||||
|
|
||||||
# Configuration defaults
|
# Configuration defaults
|
||||||
|
|
||||||
CC = cc
|
|
||||||
CFLAGS = -O2 -DKEYMAP_PATH=\"$(KEYMAP_PATH)\"
|
|
||||||
LDFLAGS =
|
|
||||||
|
|
||||||
prefix = /usr/local
|
prefix = /usr/local
|
||||||
exec_prefix = $(prefix)
|
exec_prefix = $(prefix)
|
||||||
bindir = $(exec_prefix)/bin
|
bindir = $(exec_prefix)/bin
|
||||||
|
8
configure
vendored
8
configure
vendored
@ -13,8 +13,8 @@ echo "# Generated by $0 $*" >Makeconf
|
|||||||
|
|
||||||
# Process command line options
|
# Process command line options
|
||||||
|
|
||||||
cflags=
|
cflags='-DKEYMAP_PATH=\"$(KEYMAP_PATH)\"'
|
||||||
ldflags=
|
ldflags=''
|
||||||
rpath=
|
rpath=
|
||||||
|
|
||||||
for arg in $*; do
|
for arg in $*; do
|
||||||
@ -220,8 +220,8 @@ case `uname -s` in
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
||||||
echo "CFLAGS += $cflags" >>Makeconf
|
echo "CFLAGS = $cflags" >>Makeconf
|
||||||
echo "LDFLAGS += $ldflags" >>Makeconf
|
echo "LDFLAGS = $ldflags" >>Makeconf
|
||||||
|
|
||||||
echo "configure complete - now run make"
|
echo "configure complete - now run make"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user