got everything except opencv working
diff --git a/aos/atom_code/starter/starter.cc b/aos/atom_code/starter/starter.cc
index 4534ebc..bef4e73 100644
--- a/aos/atom_code/starter/starter.cc
+++ b/aos/atom_code/starter/starter.cc
@@ -198,8 +198,9 @@
}
notifyevt = reinterpret_cast<inotify_event *>(
- reinterpret_cast<char *>(notifyevt) +
- sizeof(*notifyevt) + notifyevt->len);
+ __builtin_assume_aligned(reinterpret_cast<char *>(notifyevt) +
+ sizeof(*notifyevt) + notifyevt->len,
+ alignof(notifyevt)));
}
}
diff --git a/aos/build/aos.gypi b/aos/build/aos.gypi
index aad5331..bb585e2 100644
--- a/aos/build/aos.gypi
+++ b/aos/build/aos.gypi
@@ -175,9 +175,6 @@
'-pthread',
#'-m32',
],
- 'library_dirs': [
- '/usr/lib32',
- ],
'cflags': [
'-pthread',
#'-m32',