diff --git a/Product/build/user.object.Makefile b/Product/build/user.object.Makefile index 1d9dd7303..6a021016c 100755 --- a/Product/build/user.object.Makefile +++ b/Product/build/user.object.Makefile @@ -37,7 +37,7 @@ PLAT_ARM64_SRCS := $(PLAT_LINUX_SRCS) # gcc CFLAGS COMMON_CFLAGS := -I../../Common -I../../Platform/common -I../../Product/common -DOBJECT_DEMO=1 PLAT_LINUX_CFLAGS += $(COMMON_CFLAGS) -PLAT_ARM64_CFLAGS += $(COMMON_CFLAGS) +PLAT_ARM64_CFLAGS += $(COMMON_CFLAGS) -D_GNU_SOURCE -D__USE_XOPEN PLAT_ARM64_LDFLAGS := -L ../../Platform/build/debug PLAT_LINUX_LDFLAGS := $(PLAT_ARM64_LDFLAGS)