summaryrefslogtreecommitdiff
path: root/package/mopd
diff options
context:
space:
mode:
Diffstat (limited to 'package/mopd')
-rw-r--r--package/mopd/Makefile1
-rw-r--r--package/mopd/src/Makefile2
2 files changed, 2 insertions, 1 deletions
diff --git a/package/mopd/Makefile b/package/mopd/Makefile
index e3ffe9dd3..54245dc63 100644
--- a/package/mopd/Makefile
+++ b/package/mopd/Makefile
@@ -15,6 +15,7 @@ include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,MOPD,mopd,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
+TARGET_CFLAGS+= -fcommon
CONFIG_STYLE:= manual
INSTALL_STYLE:= manual
diff --git a/package/mopd/src/Makefile b/package/mopd/src/Makefile
index 980579251..522884369 100644
--- a/package/mopd/src/Makefile
+++ b/package/mopd/src/Makefile
@@ -12,7 +12,7 @@ MOP_PATH="-DMOP_FILE_PATH=\\\"/tftpboot/mop\\\""
# AOUT_SUPPORT="-DNOAOUT"
AOUT_SUPPORT=""
-CFLAGS="-g ${AOUT_SUPPORT} ${MOP_PATH} ${DEFAULT_HOSTNAME} ${REAL_HOSTNAME}"
+CFLAGS="-fcommon ${AOUT_SUPPORT} ${MOP_PATH} ${DEFAULT_HOSTNAME} ${REAL_HOSTNAME}"
#make file to build linux-mopd
SUBDIRS=common mopd mopchk mopprobe moptrace