#define TETHERING_BLUETOOTH_FEATURE "http://tizen.org/feature/network.tethering.bluetooth"
#define ETHERNET_FEATURE "http://tizen.org/feature/network.ethernet"
-#ifdef ADDRESS_SANITIZER
-#define NO_SANITIZE \
- __attribute__((optimize(2))) __attribute__((no_sanitize_address))
-#else
-#define NO_SANITIZE
-#endif
-
typedef enum {
CONNECTION_CELLULAR_SUBSCRIBER_1 = 0x00,
CONNECTION_CELLULAR_SUBSCRIBER_2 = 0x01,
int _connection_libnet_stop_tcpdump(void);
int _connection_libnet_get_tcpdump_state(gboolean *tcpdump_state);
-void _connection_libnet_set_type_changed_cb(libnet_type_changed_cb callback) NO_SANITIZE;
+void _connection_libnet_set_type_changed_cb(libnet_type_changed_cb callback);
void _connection_libnet_set_ip_changed_cb(libnet_ip_changed_cb callback);
void _connection_libnet_set_proxy_changed_cb(libnet_proxy_changed_cb callback);
%build
-%{?asan: export CFLAGS+=' -DADDRESS_SANITIZER '}
export CFLAGS+=' -Wno-unused-local-typedefs'
MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
cmake -DCMAKE_INSTALL_PREFIX=/usr -DFULLVER=%{version} -DMAJORVER=${MAJORVER} \