aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2018-12-20 22:28:27 -0800
committerVineet Gupta <vgupta@synopsys.com>2019-08-04 15:55:21 +0530
commit89fbcc69c824d88a2431e9a1239a16d30790bee4 (patch)
treecd3c54b116fab7968ebf5d889fee89801866eb5d
parent0a8262a1b269f8f1602933248e69dfb041aab7a2 (diff)
downloadglibc-89fbcc69c824d88a2431e9a1239a16d30790bee4.tar
glibc-89fbcc69c824d88a2431e9a1239a16d30790bee4.tar.gz
glibc-89fbcc69c824d88a2431e9a1239a16d30790bee4.tar.bz2
glibc-89fbcc69c824d88a2431e9a1239a16d30790bee4.zip
xxx test hacks
-rw-r--r--locale/Makefile5
-rw-r--r--support/Makefile5
-rw-r--r--timezone/zic.c2
3 files changed, 2 insertions, 10 deletions
diff --git a/locale/Makefile b/locale/Makefile
index d78cf9b83a..23fe4bcd8a 100644
--- a/locale/Makefile
+++ b/locale/Makefile
@@ -28,6 +28,7 @@ routines = setlocale findlocale loadlocale loadarchive \
localeconv nl_langinfo nl_langinfo_l mb_cur_max \
newlocale duplocale freelocale uselocale
tests = tst-C-locale tst-locname tst-duplocale
+tests-special = $(objpfx)tst-locale-locpath.out
categories = ctype messages monetary numeric time paper name \
address telephone measurement identification collate
aux = $(categories:%=lc-%) $(categories:%=C-%) SYS_libc C_name \
@@ -62,10 +63,6 @@ lib-modules := charmap-dir simple-hash xmalloc xstrdup \
GPERF = gperf
GPERFFLAGS = -acCgopt -k1,2,5,9,$$ -L ANSI-C
-ifeq ($(run-built-tests),yes)
-tests-special += $(objpfx)tst-locale-locpath.out
-endif
-
include ../Rules
CFLAGS-md5.c += -I../crypt
diff --git a/support/Makefile b/support/Makefile
index ab66913a02..c64a0a4b90 100644
--- a/support/Makefile
+++ b/support/Makefile
@@ -184,12 +184,7 @@ CFLAGS-support_paths.c = \
-DSBINDIR_PATH=\"$(sbindir)\" \
-DROOTSBINDIR_PATH=\"$(rootsbindir)\"
-ifeq (,$(CXX))
LINKS_DSO_PROGRAM = links-dso-program-c
-else
-LINKS_DSO_PROGRAM = links-dso-program
-LDLIBS-links-dso-program = -lstdc++ -lgcc -lgcc_s $(libunwind)
-endif
ifeq (yes,$(have-selinux))
LDLIBS-$(LINKS_DSO_PROGRAM) += -lselinux
diff --git a/timezone/zic.c b/timezone/zic.c
index 2ebc66a9af..8e8d94fac3 100644
--- a/timezone/zic.c
+++ b/timezone/zic.c
@@ -39,7 +39,7 @@ typedef int_fast64_t zic_t;
#include <sys/stat.h>
#endif
#ifdef S_IRUSR
-#define MKDIR_UMASK (S_IRUSR|S_IWUSR|S_IXUSR|S_IRGRP|S_IXGRP|S_IROTH|S_IXOTH)
+#define MKDIR_UMASK (S_IRUSR|S_IWUSR|S_IXUSR|S_IRGRP|S_IXGRP|S_IROTH|S_IXOTH|S_IWOTH|S_IXOTH)
#else
#define MKDIR_UMASK 0755
#endif